====== setLayout ====== {#JAPI Joomla.Framework Application JView::setLayout #} Sets the layout name to use. This method is used to control the layout template name that is used to render the view. The method returns a string containing the name of the previous layout template. ===== Syntax ===== string setLayout ( **$layout** ) | **$layout** | string | is a string containing the name of the layout to use. | ===== Examples ===== echo $this->setLayout( 'form' ); might produce: default ---- ~~DISCUSSION~~ DISCUSSION~~