public function my_account() { // Set Page Title setPageTitle(trans($this->moduleName . "::menu_item.my_account")); // Get User $item = Auth::user(); // Populate User Metas $item->populate_metas(); // Fire Account Item Event mergeEventFireResponse($item, app("events")->fire('module.auth.account', array(&$item))); setPageData("item", $item); $this->_render('my_account'); }
public function index() { setPageData('groups', SettingGroupItem::all()); $this->_render(); }
private function _permission_form($item = null) { // Check New $newItem = $item ? false : true; if ($newItem) { $item = new PermissionItem(); } setPageData("item", $item); setPageData("newItem", $newItem); $this->_render('permissions.form'); }
public function index() { setPageData("items", ModuleItem::orderBy("order_index", "ASC")->paginate(10)); return $this->_render(); }