Inheritance diagram for AcronPlugin:

Public Member Functions | |
| callback ($hookName, $args) | |
| checkFrequency ($className, $frequency, $lastRunTime) | |
| getDescription () | |
| getDisplayName () | |
| getManagementVerbs () | |
| getName () | |
| isInNumericRange ($value, $min, $max) | |
| isInRange ($rangeStr, $currentValue, $lastTimestamp, $timeCompareStr, $cutoffTimestamp) | |
| isSitePlugin () | |
| manage ($verb, $args, &$message) | |
| parseCrontab () | |
| register ($category, $path) | |
Definition at line 28 of file AcronPlugin.inc.php.
| AcronPlugin.checkFrequency | ( | $ | className, | |
| $ | frequency, | |||
| $ | lastRunTime | |||
| ) |
Check if the specified task should be executed according to the specified frequency and its last run time.
| $className | string | |
| $frequency | XMLNode |
Definition at line 154 of file AcronPlugin.inc.php.
References isInRange().
Referenced by callback().
| AcronPlugin.isInNumericRange | ( | $ | value, | |
| $ | min, | |||
| $ | max | |||
| ) |
Check if a numeric value is within the specified range.
| $value | int | |
| $min | int | |
| $max | int |
Definition at line 253 of file AcronPlugin.inc.php.
Referenced by isInRange().
| AcronPlugin.isInRange | ( | $ | rangeStr, | |
| $ | currentValue, | |||
| $ | lastTimestamp, | |||
| $ | timeCompareStr, | |||
| $ | cutoffTimestamp | |||
| ) |
Check if a value is within the specified range.
| $rangeStr | string the range (e.g., 0, 1-5, *, etc.) | |
| $currentValue | int value to check if its in the range | |
| $lastTimestamp | int the last time the task was executed | |
| $timeCompareStr | string value to use in strtotime("-X $timeCompareStr") | |
| $cutoffTimestamp | int value will be considered valid if older than this |
Definition at line 202 of file AcronPlugin.inc.php.
References isInNumericRange().
Referenced by checkFrequency().
| AcronPlugin.register | ( | $ | category, | |
| $ | path | |||
| ) |
Called as a plugin is registered to the registry. Subclasses over- riding this method should call the parent method first.
| $category | String Name of category plugin was registered to | |
| $path | String The path the plugin was found in |
Reimplemented from Plugin.
Definition at line 35 of file AcronPlugin.inc.php.
References callback(), and parseCrontab().
1.4.7