RouterViewConfiguration
View-configuration class for the view-based component router
since |
3.5 |
---|---|
package |
Joomla CMS |
Methods
__construct
Constructor for the View-configuration class
__construct(string name) : mixed
since |
3.5 |
---|
Arguments
- name
string
Name of the view
Response
mixed
addLayout
Add a layout to this view
addLayout(string layout) : \Joomla\CMS\Component\Router\RouterViewConfiguration
since |
3.5 |
---|
Arguments
- layout
string
Layouts that this view supports
Response
\Joomla\CMS\Component\Router\RouterViewConfiguration
This object for chaining
removeLayout
Remove a layout from this view
removeLayout(string layout) : \Joomla\CMS\Component\Router\RouterViewConfiguration
since |
3.5 |
---|
Arguments
- layout
string
Layouts that this view supports
Response
\Joomla\CMS\Component\Router\RouterViewConfiguration
This object for chaining
setKey
Set the key-identifier for the view
setKey(string key) : \Joomla\CMS\Component\Router\RouterViewConfiguration
since |
3.5 |
---|
Arguments
- key
string
Key of the view
Response
\Joomla\CMS\Component\Router\RouterViewConfiguration
This object for chaining
setName
Set the name of the view
setName(string name) : \Joomla\CMS\Component\Router\RouterViewConfiguration
since |
3.5 |
---|
Arguments
- name
string
Name of the view
Response
\Joomla\CMS\Component\Router\RouterViewConfiguration
This object for chaining
setNestable
Set if this view is nestable or not
setNestable(bool isNestable = true) : \Joomla\CMS\Component\Router\RouterViewConfiguration
since |
3.5 |
---|
Arguments
- isNestable
bool
If set to true, the view is nestable
Response
\Joomla\CMS\Component\Router\RouterViewConfiguration
This object for chaining
setParent
Set the parent view of this view
setParent(\Joomla\CMS\Component\Router\RouterViewConfiguration parent, string parentKey = null) : \Joomla\CMS\Component\Router\RouterViewConfiguration
since |
3.5 |
---|
Arguments
- parent
\Joomla\CMS\Component\Router\RouterViewConfiguration
Parent view object- parentKey
string
Key of the parent view in this context
Response
\Joomla\CMS\Component\Router\RouterViewConfiguration
This object for chaining