[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
This file is part of the phpBB Forum Software package.
Copyright: | (c) phpBB Limited |
License: | GNU General Public License, version 2 (GPL-2.0) |
File Size: | 147 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
manager:: (7 methods):
__construct()
load_tasks()
find_one_ready_task()
find_all_ready_tasks()
find_task()
get_tasks()
wrap_task()
__construct($tasks, $phpbb_root_path, $php_ext) X-Ref |
Constructor. Loads all available tasks. param: array|\Traversable $tasks Provides an iterable set of task names param: string $phpbb_root_path Relative path to phpBB root param: string $php_ext PHP file extension |
load_tasks($tasks) X-Ref |
Loads tasks given by name, wraps them and puts them into $this->tasks. param: array|\Traversable $tasks Array of instances of \phpbb\cron\task\task return: null |
find_one_ready_task() X-Ref |
Finds a task that is ready to run. If several tasks are ready, any one of them could be returned. If no tasks are ready, null is returned. return: \phpbb\cron\task\wrapper|null |
find_all_ready_tasks() X-Ref |
Finds all tasks that are ready to run. return: array List of tasks which are ready to run (wrapped in \phpbb\cron\task\wrapper). |
find_task($name) X-Ref |
Finds a task by name. If there is no task with the specified name, null is returned. Web runner uses this method to resolve names to tasks. param: string $name Name of the task to look up. return: \phpbb\cron\task\wrapper A wrapped task corresponding to the given name, or null. |
get_tasks() X-Ref |
Find all tasks and return them. return: array List of all tasks. |
wrap_task(\phpbb\cron\task\task $task) X-Ref |
Wraps a task inside an instance of \phpbb\cron\task\wrapper. param: \phpbb\cron\task\task $task The task. return: \phpbb\cron\task\wrapper The wrapped task. |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |