コード例 #1
0
ファイル: view.php プロジェクト: nob/joi
 /**
  * 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;
 }
コード例 #2
0
ファイル: view.php プロジェクト: zane-insight/WhiteLaceInn
 /**
  * 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'];
 }
コード例 #3
0
ファイル: view.php プロジェクト: jeffreyDcreative/gkp
 /**
  * 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;
 }