[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2021 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 328 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Scheduler:: (5 methods):
runTask()
configureTaskRunnerOptions()
getTask()
fetchTaskRecord()
fetchTaskRecords()
runTask(array $options) X-Ref |
Run a scheduled task. Runs a single due task from the task queue by default if $id and $title are not passed. param: array $options Array with options to configure the method's behavior. Supports: return: ?Task The task executed or null if not exists |
configureTaskRunnerOptions(OptionsResolver $resolver) X-Ref |
Set up an {@see OptionsResolver} to resolve options compatible with {@see runTask}. param: OptionsResolver $resolver The {@see OptionsResolver} instance to set up. return: void |
getTask(array $options = []) X-Ref |
Get the next task which is due to run, limit to a specific task when ID is given param: array $options Options for the getter, see {@see TaskModel::getTask()}. return: Task $task The task to execute |
fetchTaskRecord(int $id = 0, bool $allowDisabled = false) X-Ref |
Fetches a single scheduled task in a Task instance. If no id or title is specified, a due task is returned. param: int $id The task ID. param: bool $allowDisabled Allow disabled/trashed tasks? return: ?object A matching task record, if it exists |
fetchTaskRecords(array $filters, array $listConfig) X-Ref |
param: array $filters The filters to set to the model param: array $listConfig The list config (ordering, etc.) to set to the model return: array |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |