Symbiote\QueuedJobs\Extensions\ScheduledExecutionExtension
An extension that can be added to objects that automatically adds scheduled execution capabilities to data objects.
Developers who want to use these capabilities can set up
- Author: marcus@symbiote.com.au
- License: BSD License http://silverstripe.org/bsd-license/
Synopsis
class ScheduledExecutionExtension
extends DataExtension
{
- // members
- private static array $db = ;
- private static array $defaults = ;
- private static array $has_one = ;
- // methods
- public void updateCMSFields()
- public void onBeforeWrite()
- public void onScheduledExecution()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $db — array
- $defaults — array
- $has_one — array
Methods
public
- onBeforeWrite()
- onScheduledExecution() — Define your own version of this method in your data objects to be executed EVERY time the scheduled job triggers.
- updateCMSFields()