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

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 AcronPlugin.inc.php.

Member Function Documentation

AcronPlugin::_getTasksToRun ( )

Get all scheduled tasks that needs to be executed.

Returns
array

Definition at line 270 of file AcronPlugin.inc.php.

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 AcronPlugin.inc.php.

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

Referenced by _getTasksToRun(), and manage().

AcronPlugin::callbackLoadHandler (   $hookName,
  $args 
)
See Also
PKPPageRouter::loadHandler()

Definition at line 119 of file AcronPlugin.inc.php.

References _getTasksToRun().

AcronPlugin::getDescription ( )
See Also
PKPPlugin::getDescription()

Definition at line 69 of file AcronPlugin.inc.php.

AcronPlugin::getDisplayName ( )
See Also
PKPPlugin::getDisplayName()

Definition at line 62 of file AcronPlugin.inc.php.

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

Definition at line 83 of file AcronPlugin.inc.php.

References Plugin\getSetting().

AcronPlugin::getName ( )
See Also
LazyLoadPlugin::getName()

Definition at line 55 of file AcronPlugin.inc.php.

AcronPlugin::isSitePlugin ( )
See Also
PKPPlugin::isSitePlugin()

Definition at line 47 of file AcronPlugin.inc.php.

AcronPlugin::manage (   $verb,
  $args,
$message 
)
See Also
GenericPlugin::manage()

Definition at line 100 of file AcronPlugin.inc.php.

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

AcronPlugin::register (   $category,
  $path 
)
See Also
LazyLoadPlugin::register()

Definition at line 34 of file AcronPlugin.inc.php.

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

AcronPlugin::shutdownFunction ( )

Shutdown callback.

Definition at line 147 of file AcronPlugin.inc.php.


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