Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
AcronPlugin Class Reference
Inheritance diagram for AcronPlugin:

Public Member Functions

 _getTasksToRun ()
 _parseCrontab ()
 callbackLoadHandler ($hookName, $args)
 getDescription ()
 getDisplayName ()
 getInstallSitePluginSettingsFile ()
 getManagementVerbs ()
 getName ()
 isSitePlugin ()
 manage ($verb, $args, &$message)
 register ($category, $path)
 shutdownFunction ()
- Public Member Functions inherited from GenericPlugin
 GenericPlugin ()
 getManagementVerbs ($verbs=array())
 manage ($verb, $args, &$message, &$messageParams)
- Public Member Functions inherited from LazyLoadPlugin
 getEnabled ()
 getName ()
 LazyLoadPlugin ()
 register ($category, $path)
 setEnabled ($enabled)
- Public Member Functions inherited from Plugin
 getContextSpecificPluginSettingsFile ()
 getNewJournalPluginSettingsFile ()
 getSetting ($journalId, $name)
 Plugin ()
 updateSetting ($journalId, $name, $value, $type=null)
- Public Member Functions inherited from PKPPlugin
 _getContextSpecificInstallationHook ()
 addHelpData ($locale=null)
 addLocaleData ($locale=null)
 getCategory ()
 getContextSpecificPluginSettingsFile ()
 getContextSpecificSetting ($context, $name)
 getCurrentVersion ()
 getDescription ()
 getDisplayName ()
 getHelpMappingFilename ()
 getHideManagement ()
 getInstallDataFile ()
 getInstallEmailTemplateDataFile ()
 getInstallEmailTemplatesFile ()
 getInstallFilterConfigFiles ()
 getInstallSchemaFile ()
 getInstallSitePluginSettingsFile ()
 getLocaleFilename ($locale)
 getManagementVerbs ()
 getName ()
 getPluginPath ()
 getSeq ()
 getSettingMainContext ()
 getTemplatePath ()
 import ($class)
 installContextSpecificSettings ($hookName, $args)
 installData ($hookName, $args)
 installEmailTemplateData ($hookName, $args)
 installEmailTemplates ($hookName, $args)
 installFilters ($hookName, $args)
 installLocale ($hookName, $args)
 installSiteSettings ($hookName, $args)
 isSitePlugin ()
 manage ($verb, $args, &$message, &$messageParams, $request=null)
 PKPPlugin ()
 register ($category, $path)
 smartyPluginUrl ($params, &$smarty)
 updateContextSpecificSetting ($context, $name, $value, $type=null)
 updateSchema ($hookName, $args)

Detailed Description

Removes dependency on 'cron' for scheduled tasks, including possible tasks defined by plugins. See the AcronPlugin::parseCrontab hook implementation.

Definition at line 23 of file

Member Function Documentation

AcronPlugin::_getTasksToRun ( )

Get all scheduled tasks that needs to be executed.


Definition at line 270 of file

References _parseCrontab(), ScheduledTaskHelper\checkFrequency(), and Plugin\getSetting().

Referenced by callbackLoadHandler().

AcronPlugin::_parseCrontab ( )

Parse all scheduled tasks files and save the result object in database.

Definition at line 218 of file

References HookRegistry\call(), ScheduledTaskHelper\getTaskArgs(), Config\getVar(), PluginRegistry\loadAllPlugins(), and Plugin\updateSetting().

Referenced by _getTasksToRun(), and manage().

AcronPlugin::callbackLoadHandler (   $hookName,
See Also

Definition at line 119 of file

References _getTasksToRun().

AcronPlugin::getDescription ( )
See Also

Definition at line 69 of file

AcronPlugin::getDisplayName ( )
See Also

Definition at line 62 of file

AcronPlugin::getInstallSitePluginSettingsFile ( )
AcronPlugin::getManagementVerbs ( )
See Also

Definition at line 83 of file

References Plugin\getSetting().

AcronPlugin::getName ( )
See Also

Definition at line 55 of file

AcronPlugin::isSitePlugin ( )
See Also

Definition at line 47 of file

AcronPlugin::manage (   $verb,
See Also

Definition at line 100 of file

References _parseCrontab(), and Plugin\updateSetting().

AcronPlugin::register (   $category,
See Also

Definition at line 34 of file

References PKPPlugin\addLocaleData(), Config\getVar(), and HookRegistry\register().

AcronPlugin::shutdownFunction ( )

Shutdown callback.

Definition at line 147 of file

The documentation for this class was generated from the following file: