|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| add () |
|
| batch ($model) |
|
| cancel ($key=null) |
|
| edit ($key=null, $urlVar=null) |
|
| getModel ($name='', $prefix='', $config=array('ignore_request'=> true)) |
|
| loadhistory () |
|
| save ($key=null, $urlVar=null) |
|
| reload ($key=null, $urlVar=null) |
|
| editAssociations () |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| addViewPath ($path) |
|
| authorise ($task) |
|
| 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) |
|
|
| allowAdd ($data=array()) |
|
| allowEdit ($data=array(), $key='id') |
|
| allowSave ($data, $key='id') |
|
| getRedirectToItemAppend ($recordId=null, $urlVar='id') |
|
| getRedirectToListAppend () |
|
| postSaveHook (\JModelLegacy $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) |
|
Controller tailored to suit most form-based admin operations.
- Depuis
- 1.6
Method to reload a record.
- 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
- void
- Depuis
- 3.7.4
We need the filtered value of calendar fields because the UTC normalision is done in the filter and on output. This would apply the Timezone offset on reload. We set the calendar values we save to the processed date.
Références $app, $data, $field, $form, $key, et option.
Method to save a record.
- 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
- 1.6
We need the filtered value of calendar fields because the UTC normalision is done in the filter and on output. This would apply the Timezone offset on reload. We set the calendar values we save to the processed date.
Références $app, $context, $data, $field, $form, $i, $key, $n, $prefix, $return, $task, $url, null, et option.