Пример #1
0
 /**
  * @inheritdoc
  */
 public function actions()
 {
     return ['error' => ['class' => 'app\\actions\\ErrorAction'], 'captcha' => ['class' => 'yii\\captcha\\CaptchaAction', 'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null], 'submit-form' => ['class' => SubmitFormAction::className()]];
 }
Пример #2
0
 public function actions()
 {
     return ['submission' => ['class' => SubmitFormAction::className()]];
 }