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 | |
add () | |
cancel ($key=null) | |
batch ($model=null) | |
Fonctions membres publiques inherited from JControllerForm | |
__construct ($config=array()) | |
edit ($key=null, $urlVar=null) | |
getModel ($name= '', $prefix= '', $config=array('ignore_request'=> true)) | |
save ($key=null, $urlVar=null) | |
Fonctions membres publiques inherited from JController | |
addViewPath ($path) | |
authorize ($task) | |
authorise ($task) | |
display ($cachable=false, $urlparams=false) | |
execute ($task) | |
getName () | |
getTask () | |
getTasks () | |
getView ($name= '', $type= '', $prefix= '', $config=array()) | |
redirect () | |
registerDefaultTask ($method) | |
registerTask ($task, $method) | |
unregisterTask ($task) | |
setAccessControl ($section, $value=null) | |
setMessage ($text, $type= 'message') | |
setRedirect ($url, $msg=null, $type=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 | |
allowSave ($data, $key= 'id') | |
postSaveHook (JModel &$model, $validData=array()) | |
Fonctions membres protégées inherited from JControllerForm | |
allowAdd ($data=array()) | |
allowEdit ($data=array(), $key= 'id') | |
getRedirectToItemAppend ($recordId=null, $urlVar= 'id') | |
getRedirectToListAppend () | |
Fonctions membres protégées inherited from JController | |
addPath ($type, $path) | |
checkEditId ($context, $id) | |
createModel ($name, $prefix= '', $config=array()) | |
createView ($name, $prefix= '', $type= '', $config=array()) | |
holdEditId ($context, $id) | |
releaseEditId ($context, $id) | |
setPath ($type, $path) |
Additional Inherited Members | |
Attributs protégés inherited from JControllerForm | |
$context | |
$option | |
$view_item | |
$view_list | |
$text_prefix | |
Attributs protégés inherited from JController | |
$_acoSection | |
$_acoSectionValue | |
$basePath | |
$default_view | |
$doTask | |
$message | |
$messageType | |
$methods | |
$name | |
$model_prefix | |
$paths | |
$redirect | |
$task | |
$taskMap | |
Attributs protégés inherited from JObject | |
$_errors = array() |
ModulesControllerModule::add | ( | ) |
Override parent add method.
Réimplémentée à partir de JControllerForm.
Références $app, $params, JRoute\_(), JText\_(), JFactory\getApplication(), null, et JError\raiseWarning().
|
protected |
Override parent allowSave method.
array | $data | An array of input data. |
string | $key | The name of the key for the primary key. |
Réimplémentée à partir de JControllerForm.
ModulesControllerModule::batch | ( | $model = null | ) |
Method to run batch operations.
string | $model | The model |
Réimplémentée à partir de JControllerForm.
Références JRoute\_(), JText\_(), JSession\checkToken(), et jexit().
ModulesControllerModule::cancel | ( | $key = null | ) |
Override parent cancel method to reset the add module state.
string | $key | The name of the primary key of the URL variable. |
Réimplémentée à partir de JControllerForm.
Références $app, JFactory\getApplication(), et null.
|
protected |
Function that allows child controller access to model data after the data has been saved.
JModel | &$model | The data model object. |
array | $validData | The validated data. |
Réimplémentée à partir de JControllerForm.
Références $app, $task, JFactory\getApplication(), JModel\getState(), et null.