/** * set_layout * Interface for setting page layout * * @param string $layout Layout to use for page render * @return void */ public static function set_layout($layout = NULL) { self::$_layout = $layout; }
/** * set_layout * Interface for setting page layout * * @param string $layout Layout to use for page render * @return void */ public static function set_layout($layout = null) { self::$_layout = Path::assemble(BASE_PATH, Config::getTemplatesPath(), $layout); $layout = Parse::frontMatter(File::get(self::$_layout . '.html')); self::$_extra_data = $layout['data']; }
/** * set_layout * Interface for setting page layout * * @param string $layout Layout to use for page render * @return void */ public static function set_layout($layout = null) { self::$_layout = $layout; }