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. |
Controller for scheduling reports.
Schedule_Controller::cron | ( | $ | period_str | ) |
Receive call from cron to check for scheduled reports.
$period_str | string |
Schedule_Controller::list_by_type | ( | $ | type | ) |
Kills request with headers and content à la json.
$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.
$schedule_id | int |