Restruct\Silverstripe\AdminTweaks\Jobs\ScheduledMethodCall
A universal ScheduledExecution_Job that gets scheduled and executed once, async (eg for sending out an email) Calls the $method argument on the $object argument, optionally with $arguments
Synopsis
class ScheduledMethodCall
extends AbstractQueuedJobNonexist
{
- // methods
- public void __construct()
- public static int schedule()
- public object|DataObject getObjectToCallMethodOn()
- public string getTitle()
- public void getJobType()
- public void getSignature()
- public void process()
Hierarchy
Extends
- Symbiote\QueuedJobs\Services\AbstractQueuedJobNonexist
Methods
public
- __construct() — ScheduledMethodCall constructor
- getJobType() — Send to the 'immediate' queue (handling not set up but may be later)
- getObjectToCallMethodOn()
- getSignature()
- getTitle()
- process()
- schedule() — Static method to schedule ScheduledMethodCall