Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($config=array()) | |
getOverrides ($all=false) | |
getTotal () | |
getLanguages () | |
delete ($cids) | |
Fonctions membres publiques inherited from JModelList | |
getItems () | |
getPagination () | |
getStart () | |
getUserStateFromRequest ($key, $request, $default=null, $type= 'none', $resetPage=true) | |
Fonctions membres publiques inherited from JModel | |
getDbo () | |
getName () | |
getState ($property=null, $default=null) | |
getTable ($name= '', $prefix= 'Table', $options=array()) | |
setDbo (&$db) | |
setState ($property, $value=null) | |
Fonctions membres publiques inherited from JObject | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
toString () |
Fonctions membres protégées | |
populateState ($ordering=null, $direction=null) | |
Fonctions membres protégées inherited from JModelList | |
_getListQuery () | |
getListQuery () | |
getStoreId ($id= '') | |
Fonctions membres protégées inherited from JModel | |
_getList ($query, $limitstart=0, $limit=0) | |
_getListCount ($query) | |
_createTable ($name, $prefix= 'Table', $config=array()) | |
populateState () | |
cleanCache ($group=null, $client_id=0) |
Additional Inherited Members | |
Attributs protégés inherited from JModelList | |
$cache = array() | |
$context = null | |
$filter_fields = array() | |
$query = array() | |
Attributs protégés inherited from JModel | |
$__state_set = null | |
$_db | |
$name | |
$option = null | |
$state | |
$event_clean_cache = null | |
Attributs protégés inherited from JObject | |
$_errors = array() |
LanguagesModelOverrides::__construct | ( | $config = array() | ) |
Constructor
array | An optional associative array of configuration settings |
Réimplémentée à partir de JModelList.
Références $config.
LanguagesModelOverrides::delete | ( | $cids | ) |
Method to delete one or more overrides
array | Array of keys to delete |
Références $app, $key, JText\_(), DS, JFactory\getApplication(), JFactory\getUser(), jimport(), LanguagesHelper\parseFile(), et JFile\write().
LanguagesModelOverrides::getLanguages | ( | ) |
Method to get all found languages of frontend and backend.
The resulting array has entries of the following style: <Language tag>="">0|1 => <Language name>=""> - <Client name>="">
Références $language, $tag, JText\_(), JLanguage\getKnownLanguages(), JPATH_ADMINISTRATOR, JPATH_SITE, et JText\sprintf().
LanguagesModelOverrides::getOverrides | ( | $all = false | ) |
Retrieves the overrides data
boolean | True if all overrides shall be returned without considering pagination, defaults to false |
Références DS, et LanguagesHelper\parseFile().
LanguagesModelOverrides::getTotal | ( | ) |
Method to get the total number of overrides
Réimplémentée à partir de JModelList.
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
string | An optional ordering field. |
string | An optional direction (asc|desc). |
Réimplémentée à partir de JModelList.
Références $app, $client, $language, JFactory\getApplication(), et JComponentHelper\getParams().