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