yii\authclient\AuthAction::getSuccessUrl PHP Méthode

getSuccessUrl() public méthode

public getSuccessUrl ( ) : string
Résultat string successful URL.
    public function getSuccessUrl()
    {
        if (empty($this->_successUrl)) {
            $this->_successUrl = $this->defaultSuccessUrl();
        }
        return $this->_successUrl;
    }

Usage Example

Exemple #1
0
 /**
  * @inheritdoc
  */
 public function getSuccessUrl()
 {
     return $this->_module->getSocialSetting('defaultSuccessUrl', $this->userType, parent::getSuccessUrl());
 }