[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Component/Router/ -> RouterViewConfiguration.php (summary)

Joomla! Content Management System

Copyright: (C) 2015 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 237 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RouterViewConfiguration:: (7 methods):
  __construct()
  setName()
  setKey()
  setParent()
  setNestable()
  addLayout()
  removeLayout()


Class: RouterViewConfiguration  - X-Ref

View-configuration class for the view-based component router

__construct($name)   X-Ref
Constructor for the View-configuration class

param: string  $name  Name of the view

setName($name)   X-Ref
Set the name of the view

param: string  $name  Name of the view
return: RouterViewConfiguration  This object for chaining

setKey($key)   X-Ref
Set the key-identifier for the view

param: string  $key  Key of the view
return: RouterViewConfiguration  This object for chaining

setParent(RouterViewConfiguration $parent, $parentKey = null)   X-Ref
Set the parent view of this view

param: RouterViewConfiguration  $parent     Parent view object
param: string                   $parentKey  Key of the parent view in this context
return: RouterViewConfiguration  This object for chaining

setNestable($isNestable = true)   X-Ref
Set if this view is nestable or not

param: bool  $isNestable  If set to true, the view is nestable
return: RouterViewConfiguration  This object for chaining

addLayout($layout)   X-Ref
Add a layout to this view

param: string  $layout  Layouts that this view supports
return: RouterViewConfiguration  This object for chaining

removeLayout($layout)   X-Ref
Remove a layout from this view

param: string  $layout  Layouts that this view supports
return: RouterViewConfiguration  This object for chaining



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer