| 1 |
<?php
|
| 2 |
// $Id$
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* A CCK field for entering time durations.
|
| 7 |
*
|
| 8 |
* Copyright 2008 by Jakob Petsovits <jpetso@gmx.at>
|
| 9 |
* Distributed under the GNU General Public Licence version 2 or higher,
|
| 10 |
* as published by the FSF on http://www.gnu.org/copyleft/gpl.html
|
| 11 |
*/
|
| 12 |
|
| 13 |
/**
|
| 14 |
* Implementation of hook_install().
|
| 15 |
*/
|
| 16 |
function duration_install() {
|
| 17 |
content_notify('install', 'duration');
|
| 18 |
}
|
| 19 |
|
| 20 |
/**
|
| 21 |
* Implementation of hook_uninstall().
|
| 22 |
*/
|
| 23 |
function duration_uninstall() {
|
| 24 |
content_notify('uninstall', 'duration');
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
| 28 |
* Implementation of hook_enable().
|
| 29 |
*
|
| 30 |
* Notify content module when this module is enabled.
|
| 31 |
*/
|
| 32 |
function duration_enable() {
|
| 33 |
content_notify('enable', 'duration');
|
| 34 |
}
|
| 35 |
|
| 36 |
/**
|
| 37 |
* Implementation of hook_disable().
|
| 38 |
*
|
| 39 |
* Notify content module when this module is disabled.
|
| 40 |
*/
|
| 41 |
function duration_disable() {
|
| 42 |
content_notify('disable', 'duration');
|
| 43 |
}
|