[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_finder/src/Model/ -> SuggestionsModel.php (summary)

(no description)

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

Defines 1 class

SuggestionsModel:: (4 methods):
  getItems()
  getListQuery()
  getStoreId()
  populateState()


Class: SuggestionsModel  - X-Ref

Suggestions model class for the Finder package.

getItems()   X-Ref
Method to get an array of data items.

return: array  An array of data items.

getListQuery()   X-Ref
Method to build a database query to load the list data.

return: DatabaseQuery  A database query

getStoreId($id = '')   X-Ref
Method to get a store id based on model the 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  An identifier string to generate the store id. [optional]
return: string  A store id.

populateState($ordering = null, $direction = null)   X-Ref
Method to auto-populate the model state.  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



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