Schedule_Controller Class Reference

Controller for scheduling reports. More...

Public Member Functions

 show ()
 List all scheduled reports.
 list_by_type ($type)
 Kills request with headers and content à la json.
 schedule ()
 Schedule a report.
 send_now ($schedule_id)
 Used in (at least) both CLI and XHR environments.
 cron ($period_str)
 Receive call from cron to check for scheduled reports.
 save_schedule_item ()
 Save single item (key, value) from .editable fields regarding scheduled reports.
 delete_schedule ()
 Delete a schedule through ajax call.

Detailed Description

Controller for scheduling reports.


Member Function Documentation

Schedule_Controller::cron ( period_str  ) 

Receive call from cron to check for scheduled reports.

Parameters:
$period_str string
Schedule_Controller::list_by_type ( type  ) 

Kills request with headers and content à la json.

Parameters:
$type string
Schedule_Controller::save_schedule_item (  ) 

Save single item (key, value) from .editable fields regarding scheduled reports.

(that is, edit schedule)

Schedule_Controller::send_now ( schedule_id  ) 

Used in (at least) both CLI and XHR environments.

That means you should be paranoid about where to output.

Parameters:
$schedule_id int

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1