[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2009 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 391 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
InstalledModel:: (11 methods):
__construct()
populateState()
getStoreId()
getClient()
getOption()
getData()
getTotal()
publish()
getFolders()
getPath()
switchAdminLanguage()
Class: InstalledModel - X-Ref
Languages Component Languages Model__construct($config = array() X-Ref |
Constructor. param: array $config An optional associative array of configuration settings. param: MVCFactoryInterface $factory The factory. |
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 An optional ordering field. param: string $direction An optional direction (asc|desc). return: void |
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. |
getClient() X-Ref |
Method to get the client object. return: object |
getOption() X-Ref |
Method to get the option. return: object |
getData() X-Ref |
Method to get Languages item data. return: array |
getTotal() X-Ref |
Method to get the total number of Languages items. return: integer |
publish($cid) X-Ref |
Method to set the default language. param: integer $cid Id of the language to publish. return: boolean |
getFolders() X-Ref |
Method to get the folders. return: array Languages folders. |
getPath() X-Ref |
Method to get the path. return: string The path to the languages folders. |
switchAdminLanguage($cid) X-Ref |
Method to switch the administrator language. param: string $cid The language tag. return: boolean |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |