[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_scheduler/src/Model/ -> TasksModel.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: 440 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TasksModel:: (6 methods):
  __construct()
  getStoreId()
  getListQuery()
  _getList()
  attachTaskOptions()
  populateState()


Class: TasksModel  - X-Ref

The MVC Model for TasksView.
Defines methods to deal with operations concerning multiple `#__scheduler_tasks` entries.

__construct($config = [], MVCFactoryInterface $factory = null)   X-Ref
Constructor.

param: array                     $config   An optional associative array of configuration settings.
param: MVCFactoryInterface|null  $factory  The factory.

getStoreId($id = '')   X-Ref
Method to get a store id based on model configuration state.

This is necessary because the model is used by the component and
different modules that might need different sets of data or different
ordering requirements.

param: string  $id  A prefix for the store id.
return: string  A store id.

getListQuery()   X-Ref
Method to create a query for a list of items.

return: QueryInterface

_getList($query, $limitstart = 0, $limit = 0)   X-Ref
No description

attachTaskOptions(array $items)   X-Ref
No description

populateState($ordering = 'a.title', $direction = 'ASC')   X-Ref
Proxy for the parent method.
Sets ordering defaults.

param: string  $ordering   Field to order/sort list by
param: string  $direction  Direction in which to sort list
return: void



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