Elgg  Version 1.9
Namespaces | Functions
cron.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Functions

 _elgg_cron_init ()
 Cron initialization. More...
 
 _elgg_cron_page_handler ($page)
 Cron handler. More...
 
 _elgg_cron_monitor ($hook, $period, $output, $params)
 Record cron running. More...
 
 _elgg_cron_public_pages ($hook, $type, $pages, $params)
 Register cron's pages as public in case we're in Walled Garden mode. More...
 

Function Documentation

_elgg_cron_init ( )

Cron initialization.

Returns
void private

Definition at line 15 of file cron.php.

_elgg_cron_monitor (   $hook,
  $period,
  $output,
  $params 
)

Record cron running.

Parameters
string$hookHook name
string$periodCron period
string$outputOutput content
array$paramsHook parameters
Returns
void private

Definition at line 85 of file cron.php.

_elgg_cron_page_handler (   $page)

Cron handler.

Parameters
array$pagePages
Returns
bool
Exceptions
CronExceptionprivate

Definition at line 47 of file cron.php.

_elgg_cron_public_pages (   $hook,
  $type,
  $pages,
  $params 
)

Register cron's pages as public in case we're in Walled Garden mode.

Parameters
string$hook'public_pages'
string$type'walled_garden'
array$pagesArray of pages to allow
mixed$paramsParams
Returns
array private

Definition at line 106 of file cron.php.