|
| cancel ($key=null) |
|
| save ($key=null, $urlVar=null) |
|
| batch ($model=null) |
|
| __construct ( $config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null, FormFactoryInterface $formFactory=null) |
|
| add () |
|
| batch ($model) |
|
| cancel ($key=null) |
|
| edit ($key=null, $urlVar=null) |
|
| getModel ($name='', $prefix='', $config=array('ignore_request'=> true)) |
|
| save ($key=null, $urlVar=null) |
|
| editAssociations () |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null) |
|
| addViewPath ($path) |
|
| execute ($task) |
|
| getModel ($name='', $prefix='', $config=array()) |
|
| getName () |
|
| getTask () |
|
| getTasks () |
|
| getView ($name='', $type='', $prefix='', $config=array()) |
|
| redirect () |
|
| registerDefaultTask ($method) |
|
| registerTask ($task, $method) |
|
| unregisterTask ($task) |
|
| setMessage ($text, $type='message') |
|
| checkToken ($method='post', $redirect=true) |
|
| setRedirect ($url, $msg=null, $type=null) |
|
| setDispatcher (DispatcherInterface $dispatcher) |
|
| setFormFactory (FormFactoryInterface $factory) |
|
|
| allowEdit ($data=array(), $key='id') |
|
| postSaveHook (BaseDatabaseModel $model, $validData=array()) |
|
| allowAdd ($data=[]) |
|
| allowEdit ($data=[], $key='id') |
|
| allowSave ($data, $key='id') |
|
| getRedirectToItemAppend ($recordId=null, $urlVar='id') |
|
| getRedirectToListAppend () |
|
| postSaveHook (BaseDatabaseModel $model, $validData=array()) |
|
| 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) |
|
User controller class.
- Depuis
- 1.6
◆ allowEdit()
allowEdit |
( |
|
$data = array() , |
|
|
|
$key = 'id' |
|
) |
| |
|
protected |
Overrides Joomla::allowEdit
Checks that non-Super Admins are not editing Super Admins.
- Paramètres
-
array | $data | An array of input data. |
string | $key | The name of the key for the primary key. |
- Renvoie
- boolean True if allowed, false otherwise.
- Depuis
- 1.6
Références $data, $key, et Access\check().
◆ batch()
◆ cancel()
Override parent cancel to redirect when using status edit account.
- Paramètres
-
string | $key | The name of the primary key of the URL variable. |
- Renvoie
- boolean True if access level checks pass, false otherwise.
- Depuis
- 4.0.0
Références $result, $return, Uri\base(), et Uri\isInternal().
◆ postSaveHook()
Function that allows child controller access to model data after the data has been saved.
- Paramètres
-
BaseDatabaseModel | $model | The data model object. |
array | $validData | The validated data. |
- Renvoie
- void
- Depuis
- 3.1
◆ save()
Override parent save to redirect when using status edit account.
- Paramètres
-
string | $key | The name of the primary key of the URL variable. |
string | $urlVar | The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). |
- Renvoie
- boolean True if successful, false otherwise.
- Depuis
- 4.0.0
Références $key, $result, $return, $task, Uri\base(), et Uri\isInternal().
◆ $text_prefix
$text_prefix = 'COM_USERS_USER' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :