private function _getProviderRecordByHandle($handle)
    {
        $providerRecord = Oauth_ProviderInfosRecord::model()->find(

            // conditions
            'class=:provider',

            // params
            array(
                ':provider' => $handle
            )
        );

        if($providerRecord)
        {
            return $providerRecord;
        }

        return null;
    }
private function _getProviderRecordByHandle($handle)
    {
        $providerRecord = Oauth_ProviderInfosRecord::model()->find(

            // conditions
            'class=:provider',

            // params
            array(
                ':provider' => $handle
            )
        );

        if($providerRecord)
        {
            return $providerRecord;
        }

        return null;
    }
private function _getProviderRecordByHandle ( $ handle ) { $ providerRecord = Oauth_ProviderInfosRecord :: model ( ) -> find ( // conditions 'class=:provider' , // params array ( ':provider' => $ handle ) ) ; if ( $ providerRecord ) { return $ providerRecord ; } return null ; }
Get provider record by handle
Get provider record by handle