$_sleep
$_sleep : string
Name of the sleep function.
Horde_Scheduler
factory(string $driver, array $params = null) : \Horde_Scheduler
Attempts to return a concrete Horde_Scheduler instance based on $driver.
string | $driver | The type of concrete subclass to return. |
array | $params | A hash containing any additional configuration or connection parameters a subclass might need. |
The newly created concrete instance.
serialize(string $id = '') : boolean
Preserve the internal state of the scheduler object that we are passed, and save it to the Horde VFS backend. Horde_Scheduler objects should define __sleep() and __wakeup() serialization callbacks for anything that needs to be done at object serialization or deserialization - handling database connections, etc.
string | $id | An id to uniquely identify this scheduler from others of the same class. |
Success result.
unserialize(string $class, string $id = '', boolean $autosave = true)
Restore a Horde_Scheduler object from the cache.
string | $class | The name of the object to restore. |
string | $id | An id to uniquely identify this scheduler from others of the same class. |
boolean | $autosave | Automatically store (serialize) the returned object at script shutdown. |