Back to FileLayout class

Method setLayoutId

public self
setLayoutId
(mixed $layoutId)
Set the active layout id
Parameters
  • string $layoutId Layout identifier
Returns
  • self
Since
  • 3.5
Class: FileLayout
Project: Joomla

Method setLayoutId - Source code

/**
 * Set the active layout id
 *
 * @param   string  $layoutId  Layout identifier
 *
 * @return  self
 *
 * @since   3.5
 */
public function setLayoutId($layoutId)
{
    $this->layoutId = $layoutId;
    $this->fullPath = null;
    return $this;
}