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

Public Member Functions

 _parseCrontab ()
 
 callbackLoadHandler ($hookName, $args)
 
 getDescription ()
 
 getDisplayName ()
 
 getInstallSitePluginSettingsFile ()
 
 getManagementVerbs ()
 
 getName ()
 
 isSitePlugin ()
 
 manage ($verb, $args, &$message)
 
 register ($category, $path)
 
- 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::_parseCrontab ( )

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

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

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

Referenced by callbackLoadHandler(), and manage().

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

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

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

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

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

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

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

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

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

References Plugin\getSetting().

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

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

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

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

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

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

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

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

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

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


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