yii\authclient\AuthAction::getSuccessUrl PHP Method

getSuccessUrl() public method

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

Usage Example

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