[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_modules/src/Model/ -> PositionsModel.php (summary)

(no description)

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

Defines 1 class

PositionsModel:: (4 methods):
  __construct()
  populateState()
  getItems()
  getTotal()


Class: PositionsModel  - X-Ref

Modules Component Positions Model

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

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

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

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
Method to get an array of data items.

return: mixed  An array of data items on success, false on failure.

getTotal()   X-Ref
Method to get the total number of items.

return: integer  The total number of items.



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