PHP Class PKPAcronPlugin, pkp-lib

..?
Inheritance: extends GenericPlugin
Afficher le fichier Open project: pkp/pkp-lib

Méthodes publiques

Свойство Type Description
$_tasksToRun array
$_workingDir string

Méthodes publiques

Méthode 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 méthode

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

_parseCrontab() public méthode

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

callbackLoadHandler() public méthode

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
Résultat boolean

callbackManage() public méthode

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

callbackPostInstall() public méthode

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
Résultat boolean

getDescription() public méthode

public getDescription ( )

getDisplayName() public méthode

public getDisplayName ( )

getInstallSitePluginSettingsFile() public méthode

getName() public méthode

public getName ( )

isSitePlugin() public méthode

public isSitePlugin ( )

register() public méthode

public register ( $category, $path )

shutdownFunction() public méthode

Shutdown callback.
public shutdownFunction ( )

Property Details

$_tasksToRun public_oe property

array
public $_tasksToRun

$_workingDir public_oe property

string
public $_workingDir