Basecoat\View::getLayout PHP Method

getLayout() public method

* Get the relative path to a layout file. Default is layout set with setLayout().
public getLayout ( $layout_name = null )
$layout_name name of layout
    public function getLayout($layout_name = null)
    {
        if (is_null($layout_name)) {
            $layout_name = $this->layout;
        }
        return $this->layouts[$layout_name];
    }