[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_scheduler/src/Task/ -> TaskOptions.php (summary)

(no description)

Copyright: (C) 2021 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 73 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TaskOptions:: (2 methods):
  addOptions()
  findOption()


Class: TaskOptions  - X-Ref

The TaskOptions class.
Used as the subject argument for the `onTaskOptionsList` event, plugins that support tasks must add them to the
object through the addOptions() method.

addOptions(array $taskRoutines)   X-Ref
A plugin can support several task routines
This method is used by a plugin's onTaskOptionsList subscriber to advertise supported routines.

param: array  $taskRoutines  An associative array of {@var TaskOption} constructor argument pairs:
return: void

findOption(?string $routineId)   X-Ref

param: ?string  $routineId  A unique identifier for a plugin task routine
return: ?TaskOption  A matching TaskOption if available, null otherwise



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer