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