[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2006 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 269 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LanguagesModel:: (8 methods):
__construct()
getUpdateSite()
getItems()
getLanguages()
_getListCount()
getStoreId()
populateState()
compareLanguages()
Class: LanguagesModel - X-Ref
Languages Installer Model__construct($config = array() X-Ref |
Constructor. param: array $config An optional associative array of configuration settings. param: MVCFactoryInterface $factory The factory. |
getUpdateSite() X-Ref |
Get the Update Site return: string The URL of the Accredited Languagepack Updatesite XML |
getItems() X-Ref |
Method to get an array of data items. return: mixed An array of data items on success, false on failure. |
getLanguages() X-Ref |
Gets an array of objects from the updatesite. return: object[] An array of results. |
_getListCount($query) X-Ref |
No description |
getStoreId($id = '') X-Ref |
Method to get a store id based on model configuration state. param: string $id A prefix for the store id. return: string A store id. |
populateState($ordering = 'name', $direction = 'asc') X-Ref |
Method to auto-populate the model state. Note. Calling getState in this method will result in recursion. param: string $ordering list order param: string $direction direction in the list return: void |
compareLanguages($lang1, $lang2) X-Ref |
Method to compare two languages in order to sort them. param: object $lang1 The first language. param: object $lang2 The second language. return: integer |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |