PHP Class Falcon_Connector, Falcon

Datei anzeigen Open project: rmccue/Falcon

Public Methods

Method Description
schedule_async_action ( ) Run the current action asynchronously.

Protected Methods

Method Description
add_notify_action ( string $hook, callback $callback, integer $priority = 10, integer $accepted_args ) Add a notification hook.

Method Details

add_notify_action() protected method

Basically add_action but specifically for actions to send notifications on. Automatically registers cron tasks if running in asynchronous mode.
protected add_notify_action ( string $hook, callback $callback, integer $priority = 10, integer $accepted_args )
$hook string Name of the action to register for.
$callback callback Callback to register.
$priority integer Priority to register at, larger numbers = later run.
$accepted_args integer Number of arguments to pass through, default 0.

schedule_async_action() public method

Run the current action asynchronously.