Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPAcronPlugin Class Reference
Inheritance diagram for PKPAcronPlugin:
GenericPlugin AcronPlugin

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 ()
 
 manage ($verb, $args, &$message, &$messageParams, &$pluginModalContent=null)
 
- Public Member Functions inherited from LazyLoadPlugin
 getEnabled ()
 
 getName ()
 
 LazyLoadPlugin ()
 
 register ($category, $path)
 
 setEnabled ($enabled)
 
- Public Member Functions inherited from Plugin
 _getContextSpecificInstallationHook ()
 
 addLocaleData ($locale=null)
 
 getCategory ()
 
 getContextSpecificPluginSettingsFile ()
 
 getContextSpecificSetting ($context, $name)
 
 getCurrentVersion ()
 
 getDescription ()
 
 getDisplayName ()
 
 getHideManagement ()
 
 getInstallDataFile ()
 
 getInstallEmailTemplateDataFile ()
 
 getInstallEmailTemplatesFile ()
 
 getInstallFilterConfigFiles ()
 
 getInstallSchemaFile ()
 
 getInstallSitePluginSettingsFile ()
 
 getLocaleFilename ($locale)
 
 getManagementVerbLinkAction ($request, $verb)
 
 getManagementVerbs ()
 
 getName ()
 
 getPluginPath ()
 
getRequest ()
 
 getSeq ()
 
 getSetting ($contextId, $name)
 
 getSettingMainContext ()
 
 getTemplatePath ($inCore=false)
 
 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, &$pluginModalContent=null)
 
 Plugin ()
 
 register ($category, $path)
 
 smartyPluginUrl ($params, &$smarty)
 
 updateContextSpecificSetting ($context, $name, $value, $type=null)
 
 updateSchema ($hookName, $args)
 
 updateSetting ($contextId, $name, $value, $type=null)
 

Additional Inherited Members

- Public Attributes inherited from Plugin
 $pluginCategory
 
 $pluginPath
 
 $request
 

Detailed Description

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

Definition at line 23 of file PKPAcronPlugin.inc.php.

Member Function Documentation

PKPAcronPlugin::_parseCrontab ( )

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

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

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

Referenced by callbackLoadHandler(), and manage().

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

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

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

PKPAcronPlugin::getDescription ( )
See Also
PKPPlugin::getDescription()

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

PKPAcronPlugin::getDisplayName ( )
See Also
PKPPlugin::getDisplayName()

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

PKPAcronPlugin::getInstallSitePluginSettingsFile ( )
See Also
PKPPlugin::getInstallSitePluginSettingsFile()

Definition at line 70 of file PKPAcronPlugin.inc.php.

References Plugin\getPluginPath().

PKPAcronPlugin::getManagementVerbs ( )
See Also
GenericPlugin::getManagementVerbs()

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

References Plugin\getSetting().

PKPAcronPlugin::getName ( )
See Also
LazyLoadPlugin::getName()

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

PKPAcronPlugin::isSitePlugin ( )
See Also
PKPPlugin::isSitePlugin()

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

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

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

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

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

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

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


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