Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($config=array()) | |
getClient () | |
getFtp () | |
getOption () | |
getData () | |
getTotal () | |
publish ($cid) | |
switchAdminLanguage ($cid) | |
Fonctions membres protégées | |
populateState ($ordering='name', $direction='asc') | |
getStoreId ($id='') | |
getLanguageList () | |
getFolders () | |
getPath () | |
compareLanguages ($lang1, $lang2) | |
Attributs protégés | |
$client = null | |
$user = null | |
$ftp = null | |
$option = null | |
$data = null | |
$total = null | |
$langlist = null | |
$path = null | |
Languages Component Languages Model
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
|
protected |
Method to compare two languages in order to sort them.
object | $lang1 | The first language. |
object | $lang2 | The second language. |
getClient | ( | ) |
Method to get the client object.
getData | ( | ) |
|
protected |
getFtp | ( | ) |
Method to get the ftp credentials.
|
protected |
getOption | ( | ) |
|
protected |
|
protected |
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.
string | $id | A prefix for the store id. |
Références $id.
getTotal | ( | ) |
|
protected |
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
string | $ordering | An optional ordering field. |
string | $direction | An optional direction (asc|desc). |
Références $clientId, $direction, $ordering, et $params.
publish | ( | $cid | ) |
switchAdminLanguage | ( | $cid | ) |
Method to switch the administrator language.
string | $cid | The language tag. |
Références $client, et JError\raiseWarning().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |