concrete/src/Authentication/AuthenticationType.php
public static function getByID($authTypeID)
    {
        $db = Loader::db();
        $row = $db->GetRow('SELECT * FROM AuthenticationTypes where authTypeID=?', [$authTypeID]);
        if (!$row) {
            throw new Exception(t('Invalid Authentication Type ID'));
        }
        $at = self::load($row);
        $at->loadController();

        return $at;
    }
public static function getByID($authTypeID)
    {
        $db = Loader::db();
        $row = $db->GetRow('SELECT * FROM AuthenticationTypes where authTypeID=?', [$authTypeID]);
        if (!$row) {
            throw new Exception(t('Invalid Authentication Type ID'));
        }
        $at = self::load($row);
        $at->loadController();

        return $at;
    }
public static function getByID ( $ authTypeID ) { $ db = Loader :: db ( ) ; $ row = $ db -> GetRow ( 'SELECT * FROM AuthenticationTypes where authTypeID=?' , [ $ authTypeID ] ) ; if ( ! $ row ) { throw new Exception ( t ( 'Invalid Authentication Type ID' ) ) ; } $ at = self :: load ( $ row ) ; $ at -> loadController ( ) ; return $ at ; }
Return loaded AuthenticationType with the given ID.

@param int $authTypeID

@throws \Exception

@return AuthenticationType
Return loaded AuthenticationType with the given ID .