|
| displayItem ($id=null) |
|
| displayList () |
|
| add () |
|
| edit () |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null) |
|
| add () |
|
| __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) |
|
|
static | addModelPath ($path, $prefix='') |
|
static | createFileName ($type, $parts=array()) |
|
static | getInstance ($prefix, $config=array()) |
|
| allowEdit ($data=array(), $key='id') |
|
| allowAdd ($data=array()) |
|
| preprocessSaveData (array $data) |
|
| 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) |
|
static | $instance |
|
static | $views |
|
The items controller
- Depuis
- 4.0.0
◆ add()
Method to add a new record.
- Renvoie
- void
- Depuis
- 4.0.0
- Exceptions
-
Références $data.
◆ displayItem()
displayItem |
( |
|
$id = null | ) |
|
Basic display of an item view
- Paramètres
-
integer | $id | The primary key to display. Leave empty if you want to retrieve data from the request |
- Renvoie
- static A object to support chaining.
- Depuis
- 4.0.0
Références $id.
◆ displayList()
Basic display of a list view
- Renvoie
- static A object to support chaining.
- Depuis
- 4.0.0
◆ edit()
Method to edit an existing record.
- Renvoie
- static A object to support chaining.
- Depuis
- 4.0.0
Références $data.
◆ getClientIdFromInput()
Get client id from input
- Renvoie
- string
- Depuis
- 4.0.0
◆ $contentType
◆ $default_view
La documentation de cette classe a été générée à partir du fichier suivant :