concrete/src/Authentication/AuthenticationType.php
public static function getList($sorted = false, $activeOnly = false)
    {
        $list = [];
        $db = Loader::db();
        $q = $db->query('SELECT * FROM AuthenticationTypes'
            . ($activeOnly ? ' WHERE authTypeIsEnabled=1 ' : '')
            . ' ORDER BY ' . ($sorted ? 'authTypeDisplayOrder' : 'authTypeID'));
        while ($row = $q->fetchRow()) {
            $list[] = self::load($row);
        }

        return $list;
    }
public static function getList($sorted = false, $activeOnly = false)
    {
        $list = [];
        $db = Loader::db();
        $q = $db->query('SELECT * FROM AuthenticationTypes'
            . ($activeOnly ? ' WHERE authTypeIsEnabled=1 ' : '')
            . ' ORDER BY ' . ($sorted ? 'authTypeDisplayOrder' : 'authTypeID'));
        while ($row = $q->fetchRow()) {
            $list[] = self::load($row);
        }

        return $list;
    }
public static function getList ( $ sorted = false , $ activeOnly = false ) { $ list = [ ] ; $ db = Loader :: db ( ) ; $ q = $ db -> query ( 'SELECT * FROM AuthenticationTypes' . ( $ activeOnly ? ' WHERE authTypeIsEnabled=1 ' : '' ) . ' ORDER BY ' . ( $ sorted ? 'authTypeDisplayOrder' : 'authTypeID' ) ) ; while ( $ row = $ q -> fetchRow ( ) ) { $ list [ ] = self :: load ( $ row ) ; } return $ list ; }
Return a raw list of authentication types.

@param bool $sorted true: Sort by display order, false: sort by install order
@param bool $activeOnly true: include only active types, false: include active and inactive types

@return AuthenticationType[]
Return a raw list of authentication types .