Exemplo n.º 1
0
 public static function passLayout()
 {
     $id = AppHelper::getLayoutId();
     $layout = Layout::find($id);
     //return $layout->full_layout;
     eval('?' . '>' . $layout->full_layout);
 }
Exemplo n.º 2
0
 public static function getLayoutName()
 {
     $id = AppHelper::getLayoutId();
     $layout_name = Layout::find($id);
     return $layout_name->name;
 }
Exemplo n.º 3
0
 public static function getAuthorName()
 {
     $id = AppHelper::getLayoutId();
     $layout = Layout::find($id);
     return $layout->author;
 }