Autogenerated class RecurringDowntime_Model. More...
Public Member Functions | |
get_weekdays () | |
Autogenerated function. | |
get_months () | |
Autogenerated function. | |
get_time_string ($time, $duration) | |
Get the start time ,end time or duration, but format it the way times are usually. | |
get_start_time_string () | |
Get the start time, but format it the way times are usually formatted: hh:mm:ss. | |
get_end_time_string () | |
Get the end time, but format it the way times are usually formatted: hh:mm:ss. | |
get_duration_string () | |
Get the duration, but format it the way times are usually formatted: hh:mm:ss, or an empty string if the downtime is 'fixed'. | |
get_duration_arr () | |
Get the duration Not formated return array. | |
get_objects () | |
Get all objects in this schedule as a list. |
Autogenerated class RecurringDowntime_Model.
RecurringDowntime_Model::get_duration_arr | ( | ) |
Get the duration Not formated return array.
Ninja rule: orm depend[] duration Ninja rule: orm depend[] fixed
RecurringDowntime_Model::get_duration_string | ( | ) |
Get the duration, but format it the way times are usually formatted: hh:mm:ss, or an empty string if the downtime is 'fixed'.
Ninja rule: orm depend[] duration Ninja rule: orm depend[] fixed
RecurringDowntime_Model::get_end_time_string | ( | ) |
Get the end time, but format it the way times are usually formatted: hh:mm:ss.
Ninja rule: orm depend[] end_time
RecurringDowntime_Model::get_months | ( | ) |
RecurringDowntime_Model::get_objects | ( | ) |
Get all objects in this schedule as a list.
Ninja rule: orm depend[] id
RecurringDowntime_Model::get_start_time_string | ( | ) |
Get the start time, but format it the way times are usually formatted: hh:mm:ss.
Ninja rule: orm depend[] start_time
RecurringDowntime_Model::get_time_string | ( | $ | time, | |
$ | duration | |||
) |
RecurringDowntime_Model::get_weekdays | ( | ) |