|
| displayList () |
|
| __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) |
|
|
| preprocessSaveData (array $data) |
|
| 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) |
|
The article controller
- Depuis
- 4.0.0
◆ displayList()
Article list view amended to add filtering of data
- Renvoie
- static A BaseController object to support chaining.
- Depuis
- 4.0.0
Références InputFilter\getInstance().
◆ preprocessSaveData()
preprocessSaveData |
( |
array |
$data | ) |
|
|
protected |
Method to allow extended classes to manipulate the data to be saved for an extension.
- Paramètres
-
array | $data | An array of input data. |
- Renvoie
- array
- Depuis
- 4.0.0
Références $data, $field, et FieldsHelper\getFields().
◆ $contentType
$contentType = 'articles' |
|
protected |
◆ $default_view
$default_view = 'articles' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :