public function groups() { if ($this->user["group"] != "admin") { return false; } $acl = $this->getAcl(); return $this->render('auth:views/accounts/groups.php', compact('acl')); }