init() 공개 메소드

Initializes the widget.
public init ( )
예제 #1
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     if ($this->model === null) {
         throw new InvalidConfigException('This functionality works only with inputs created from models');
     }
     $this->captchaAction = Yii::getAlias('@captchaRoute');
     parent::init();
 }
예제 #2
0
 /**
  * Initializes the widget.
  */
 public function init()
 {
     parent::init();
 }