[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_scheduler/src/Task/ -> TaskOption.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: 117 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TaskOption:: (2 methods):
  __construct()
  __get()


Class: TaskOption  - X-Ref

The TaskOption class is used as a utility container for available plugin-provided task routines.
Each task-supporting plugin calls the {@see TaskOptions::addOptions()} method with an array of TaskOption constructor
argument pairs as argument. Internally, the TaskOption object generates the routine title and description from the
language constant prefix.

__construct(string $type, string $langConstPrefix)   X-Ref
TaskOption constructor.

param: string  $type             A unique ID string for a plugin task routine.
param: string  $langConstPrefix  The Language constant prefix $p. Expects $p . _TITLE and $p . _DESC to exist.

__get(string $name)   X-Ref
Magic method to allow read-only access to private properties.

param: string  $name  The object property requested.
return: ?string



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