public function setProvider($provider=NULL)
    {
        // Prevent the provider from being NULL
        if ($provider == NULL)
            throw new CException(Yii::t('Hybridauth.main', "You haven't supplied a provider"));

        // Set the property
        $this->_provider = $provider;

        return $this->_provider;
    }
public function setProvider($provider=NULL)
    {
        // Prevent the provider from being NULL
        if ($provider == NULL)
            throw new CException(Yii::t('Hybridauth.main', "You haven't supplied a provider"));

        // Set the property
        $this->_provider = $provider;

        return $this->_provider;
    }
public function setProvider ( $ provider = NULL ) { // Prevent the provider from being NULL if ( $ provider == NULL ) throw new CException ( Yii :: t ( 'Hybridauth.main' , "You haven't supplied a provider" ) ) ; // Set the property $ this -> _provider = $ provider ; return $ this -> _provider ; }
Sets the provider for this controller to use
@param string $provider The Provider Name
@return $provider
Sets the provider for this controller to use