API17

JView::setLayout

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

Description

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


User contributed notes

Code Examples


Advertisement