Auth\Controller\Accounts::groups PHP Method

groups() public method

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