PHP Class PKPAcronPlugin, pkp-lib

..?
Inheritance: extends GenericPlugin
显示文件 Open project: pkp/pkp-lib

Public Properties

Property Type Description
$_tasksToRun array
$_workingDir string

Public Methods

Method Description
_getTasksToRun ( ) : array Get all scheduled tasks that needs to be executed.
_parseCrontab ( ) Parse all scheduled tasks files and save the result object in database.
callbackLoadHandler ( $hookName, $args ) : boolean Load handler hook to check for tasks to run.
callbackManage ( $hookName, $args ) : boolean Syncronize crontab with lazy load plugins management.
callbackPostInstall ( $hookName, $args ) : boolean Post install hook to flag cron tab reload on every install/upgrade.
getDescription ( )
getDisplayName ( )
getInstallSitePluginSettingsFile ( )
getName ( )
isSitePlugin ( )
register ( $category, $path )
shutdownFunction ( ) Shutdown callback.

Method Details

_getTasksToRun() public method

Get all scheduled tasks that needs to be executed.
public _getTasksToRun ( ) : array
return array

_parseCrontab() public method

Parse all scheduled tasks files and save the result object in database.
public _parseCrontab ( )

callbackLoadHandler() public method

Load handler hook to check for tasks to run.
See also: PKPPageRouter::loadHandler() for the hook call.
public callbackLoadHandler ( $hookName, $args ) : boolean
$hookName string
$args array
return boolean

callbackManage() public method

Syncronize crontab with lazy load plugins management.
See also: PluginHandler::plugin() for the hook call.
public callbackManage ( $hookName, $args ) : boolean
$hookName string
$args array
return boolean

callbackPostInstall() public method

Post install hook to flag cron tab reload on every install/upgrade.
See also: Installer::postInstall() for the hook call.
public callbackPostInstall ( $hookName, $args ) : boolean
$hookName string
$args array
return boolean

getDescription() public method

public getDescription ( )

getDisplayName() public method

public getDisplayName ( )

getInstallSitePluginSettingsFile() public method

getName() public method

public getName ( )

isSitePlugin() public method

public isSitePlugin ( )

register() public method

public register ( $category, $path )

shutdownFunction() public method

Shutdown callback.
public shutdownFunction ( )

Property Details

$_tasksToRun public_oe property

array
public $_tasksToRun

$_workingDir public_oe property

string
public $_workingDir