![]() |
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 | |
getForm ($data=array(), $loadData=true) | |
getData () | |
save ($data) | |
removeroot () | |
![]() | |
checkin ($pk=null) | |
checkout ($pk=null) | |
validate ($form, $data, $group=null) | |
![]() | |
__construct ($config=array()) | |
getDbo () | |
getName () | |
getState ($property=null, $default=null) | |
getTable ($name= '', $prefix= 'Table', $options=array()) | |
setDbo (&$db) | |
setState ($property, $value=null) | |
![]() | |
__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 privées | |
writeConfigFile (JRegistry $config) |
Additional Inherited Members | |
![]() | |
loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) | |
loadFormData () | |
preprocessForm (JForm $form, $data, $group= 'content') | |
![]() | |
_getList ($query, $limitstart=0, $limit=0) | |
_getListCount ($query) | |
_createTable ($name, $prefix= 'Table', $config=array()) | |
populateState () | |
cleanCache ($group=null, $client_id=0) | |
![]() | |
$_forms = array() | |
![]() | |
$__state_set = null | |
$_db | |
$name | |
$option = null | |
$state | |
$event_clean_cache = null | |
![]() | |
$_errors = array() |
ConfigModelApplication::getData | ( | ) |
Method to get the configuration data.
This method will load the global configuration data straight from JConfig. If configuration data has been saved in the session, that data will be merged into the original data, overwriting it.
Références $config, $data, $params, JArrayHelper\fromObject(), JFactory\getApplication(), et JComponentHelper\getParams().
ConfigModelApplication::getForm | ( | $data = array() , |
|
$loadData = true |
|||
) |
Method to get a form object.
array | $data | Data for the form. |
boolean | $loadData | True if the form is to load its own data (default case), false if not. |
Réimplémentée à partir de JModelForm.
ConfigModelApplication::removeroot | ( | ) |
Method to unset the root_user value from configuration data.
This method will load the global configuration data straight from JConfig and remove the root_user value for security, then save the configuration.
Références $config, et JArrayHelper\fromObject().
ConfigModelApplication::save | ( | $data | ) |
Method to save the configuration data.
array | An array containing all global config data. |
Références $asset, $config, $data, $extension, JText\_(), JFilterOutput\ampReplace(), JArrayHelper\fromObject(), JFactory\getCache(), JFactory\getConfig(), JAccess\getGroupsByUser(), JTable\getInstance(), JFactory\getUser(), et JError\raiseNotice().
|
private |
Method to write the configuration to a file.
Références $file, JText\_(), JClientHelper\getCredentials(), JPath\isOwner(), jimport(), JPATH_CONFIGURATION, JError\raiseNotice(), JPath\setPermissions(), JRegistry\toString(), et JFile\write().