|
| display ($cachable=false, $urlparams=array()) |
|
| addModule () |
|
| __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()) |
|
| 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 |
|
◆ addModule()
◆ display()
display |
( |
|
$cachable = false , |
|
|
|
$urlparams = array() |
|
) |
| |
Typical view method for MVC based architecture
This function is provide as a default implementation, in most cases you will need to override it in your own controllers.
- Paramètres
-
boolean | $cachable | If true, the view output will be cached |
array | $urlparams | An array of safe url parameters and their variable types, for valid values see JFilterInput::clean().@returnstaticAninstanceofthecurrentobjecttosupportchaining.@since3.0 |
◆ $default_view
La documentation de cette classe a été générée à partir du fichier suivant :