public function getPath($layout, $ext = 'php')
	{
		// Get the layout file name.
		$file = Path::clean($layout . '.' . $ext);

		// Find the layout file path.
		$path = Path::find(clone($this->paths), $file);

		return $path;
	}
public function getPath($layout, $ext = 'php')
	{
		// Get the layout file name.
		$file = Path::clean($layout . '.' . $ext);

		// Find the layout file path.
		$path = Path::find(clone($this->paths), $file);

		return $path;
	}
public function getPath ( $ layout , $ ext = 'php' ) { // Get the layout file name. $ file = Path :: clean ( $ layout . '.' . $ ext ) ; // Find the layout file path. $ path = Path :: find ( clone ( $ this -> paths ) , $ file ) ; return $ path ; }
Method to get the layout path.

@param   string  $layout  The base name of the layout file (excluding extension).
@param   string  $ext     The extension of the layout file (default: "php").

@return  mixed  The layout file name if found, false otherwise.

@since   1.0
Method to get the layout path .