Perforce Chronicle 2012.2/486814
API Documentation
|
Integrates cron module with the rest of the application. More...
Static Public Member Functions | |
static | load () |
Integrate cron module with the rest of the application. |
Integrates cron module with the rest of the application.
static Cron_Module::load | ( | ) | [static] |
Integrate cron module with the rest of the application.
Reimplemented from P4Cms_Module_Integration.
{ // remove cron entries from pull operations. P4Cms_PubSub::subscribe( 'p4cms.site.branch.pull.groupPaths', function($paths, $source, $target, $result) { $paths->getPaths()->filter( 'depotFile', $target->getId() . '/cron/', array( P4Cms_Model_Iterator::FILTER_STARTS_WITH, P4Cms_Model_Iterator::FILTER_INVERSE ) ); } ); }