$_component : string
The name of the component, e.g. net.nehmer.static. Should be used whenever the component's name is required instead of hardcoding it.
Cron handler for clearing tokens from old send receipts
It gives you an easy to use way of building cron jobs. You should rely only on the two event handlers _on_initialize and execute, which are called by the cron service.
See the main cron service class for details.
_on_initialize() : boolean
This callback is executed immediately after object construction. You can initialize your class here.
If you return false here, the handler is not executed, the system skips it.
All class members are already initialized when this event handler is called.
Returns true, if initialization was successful, false if anything went wrong.
print_error(string $message, mixed $var = null)
Echo the error message to the client, automatically appending the classname to the prefix. Passed messages are also written to the error log.
The error message to print.
A variable you want to print, if any.
get_workflow(string $identifier, array $options = array()) : \midcom\workflow\dialog