| [ Index ] |
PHP Cross Reference of MyBB 1.8.40 |
[Source view] [Print] [Project Stats]
MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license
| File Size: | 385 lines (9 kb) |
| Included or required: | 7 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| run_task($tid=0) X-Ref |
| Execute a scheduled task. return: boolean True if successful, false on failure param: int $tid The task ID. If none specified, the next task due to be ran is executed |
| add_task_log($task, $message) X-Ref |
| Adds information to the scheduled task log. param: int $task The task array to create the log entry for param: string $message The message to log |
| fetch_next_run($task) X-Ref |
| Generate the next run time for a particular task. return: int The next run time as a UNIX timestamp param: array $task The task array as fetched from the database. |
| build_next_run_bit($data, $bit) X-Ref |
| Builds the next run time bit for a particular item (day, hour, month etc). Used by fetch_next_run(). return: int|bool The new or found value or boolean if nothing is found param: string $data A string containing the run times for this particular item param: int $bit The current value (be it current day etc) |
| fetch_first_run_time($data) X-Ref |
| Fetches the fist run bit for a particular item (day, hour, month etc). Used by fetch_next_run(). return: int The first run time param: string $data A string containing the run times for this particular item |
| run_time_exists($data, $bit) X-Ref |
| Checks if a specific run time exists for a particular item (day, hour, month etc). Used by fetch_next_run(). return: boolean True if it exists, false if it does not param: string $data A string containing the run times for this particular item param: int $bit The bit we're checking for |
| 2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup | Cross-referenced by PHPXref |