API17

JView::setLayout

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JView::setLayout[edit]

Description[edit]

Sets the layout name to use.


public function setLayout ($layout)
Parameter Type Default Description
$layout string The layout name or a string in format <template>:<layout file>="">
  • Returns string Previous value
  • Defined on line 455 of libraries/joomla/application/component/view.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]