Habari\UserGroups::get_all PHP Method

get_all() public static method

Select all groups from the database
public static get_all ( ) : Groups
return Groups
    public static function get_all()
    {
        $params = array('orderby' => 'name ASC');
        return self::get($params);
    }