Back to FileLayout class

Method addIncludePath

public self
addIncludePath
(mixed $path)
Add one path to include in layout search. Proxy of addIncludePaths()
Parameters
  • string|string[] $path The path to search for layouts
Returns
  • self
Since
  • 3.2
Class: FileLayout
Project: Joomla

Method addIncludePath - Source code

/**
 * Add one path to include in layout search. Proxy of addIncludePaths()
 *
 * @param   string|string[]  $path  The path to search for layouts
 *
 * @return  self
 *
 * @since   3.2
 */
public function addIncludePath($path)
{
    $this->addIncludePaths($path);
    return $this;
}