Public Member Functions |
| BuildDateArray ($date) |
| Given something that looks like a date, load up the internal dateArray.
|
| BuildDate () |
| Generate useful formats from the internal dateArray "Useful" is defined as "both unix timestamp and iso-8601".
|
| Parse (&$pattern, &$matches) |
| Given a string (confusingly called pattern), find date representations therein.
|
| Explode (&$pattern, $rif, &$field, $needle= ',') |
| FIXME: really, no idea.
|
| GetFirstWeekDay ($day) |
| FIXME: no idea.
|
| GetLastWeekDay ($year, $month, $day, $hour, $minute) |
| FIXME: no idea.
|
| GetLastToken ($field, $pattern, $max) |
| FIXME: no idea.
|
| TransformWeek ($pattern) |
| FIXME: no idea.
|
| CheckPattern (&$pattern, $rif, &$field, $debug=false) |
| FIXME: no idea.
|
| BuildMinute () |
| minute
|
| BuildHour () |
| hour
|
| BuildDay () |
| day
|
| BuildMonth () |
| month
|
| BuildYear () |
| year
|
| GetFirstRun ($pattern, $now) |
| FIXME: no idea.
|
| GetLastRun () |
| FIXME: no idea.
|
| Renew ($pattern, $date, $timecheck) |
| FIXME: no idea.
|
| edit_schedule ($data=false, $id=false) |
| Save/update a recurring schedule $data should be an array.
|
| get_schedule_data ($id=false, $type=false) |
| Fetch row(s) from db.
|
| add_downtime ($data=false, $nagioscmd=false, $start_time=false) |
| Send downtime command to nagios.
|
| delete_schedule ($id=false) |
| Delete a scheduled recurring downtime.
|
Data Fields |
| $date = null |
| A ISO-8601 date and time representation (with space, not T, that is) of the date.
|
| $time = null |
| A UNIX timestamp representation of of the date.
|