[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_mails/src/Model/ -> TemplatesModel.php (summary)

(no description)

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

Defines 1 class

TemplatesModel:: (6 methods):
  __construct()
  populateState()
  getItems()
  getListQuery()
  getExtensions()
  getLanguages()


Class: TemplatesModel  - X-Ref

Methods supporting a list of mail template records.

__construct($config = array()   X-Ref
Constructor.

param: array  $config  An optional associative array of configuration settings.

populateState($ordering = null, $direction = null)   X-Ref
Method to auto-populate the model state.

This method should only be called once per instantiation and is designed
to be called on the first call to the getState() method unless the model
configuration flag to ignore the request is set.

Note. Calling getState in this method will result in recursion.

param: string  $ordering   An optional ordering field.
param: string  $direction  An optional direction (asc|desc).
return: void

getItems()   X-Ref
Get a list of mail templates

return: array

getListQuery()   X-Ref
Build an SQL query to load the list data.

return: QueryInterface

getExtensions()   X-Ref
Get list of extensions which are using mail templates

return: array

getLanguages()   X-Ref
Get a list of the current content languages

return: array



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