30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ZendJobQueue::getApplications<br />

Returns an array of application names known by the daemon<br />

Available since version 5.0<br />

Description<br />

array ZendJobQueue::getApplications (void)<br />

Return Value<br />

A list of applications<br />

ZendJobQueue::getSchedulingRules<br />

API <strong>Reference</strong><br />

Returns an array of all the registered scheduled rules. Each rule is represented by a nested associative<br />

array with the following properties: "id" - The scheduling rule identifier "status" - The rule status (see<br />

STATUS_* constants) "type" - The rule type (see TYPE_* constants) "priority" - The priority of the jobs<br />

created by this rule "persistent" - The persistence flag of the jobs created by this rule "script" - The URL or<br />

script to run "name" - The name of the jobs created by this rule "vars" - The input variables or arguments<br />

"http_headers" - The additional HTTP headers "schedule" - The CRON-like schedule command "app_id" -<br />

The application name associated with this rule and created jobs "last_run" - The last time the rule was run<br />

"next_run" - The next time the rule will run<br />

Available since version 5.0<br />

Description<br />

array ZendJobQueue::getSchedulingRules (void)<br />

Return Value<br />

A list of scheduling rules<br />

307

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!