Пример #1
0
 /**
  * @inheritdoc
  */
 public function actions()
 {
     return ['file-upload' => ['class' => \backend\components\FileUploadAction::className()], 'ueditor' => ['class' => \backend\components\ueditor\UeditorAction::className()], 'switch-status' => ['class' => \backend\components\SwitchAction::className(), 'className' => Fragment::className(), 'id' => Yii::$app->getRequest()->get('id'), 'feild' => 'status'], 'delete' => ['class' => \backend\components\SwitchAction::className(), 'className' => Fragment::className(), 'id' => Yii::$app->getRequest()->get('id'), 'feild' => 'deleted', 'value' => 1]];
 }
Пример #2
0
 /**
  * @inheritdoc
  */
 public function actions()
 {
     return ['file-upload' => ['class' => 'backend\\components\\FileUploadAction'], 'ueditor' => ['class' => \backend\components\ueditor\UeditorAction::className()], 'switch-status' => ['class' => \backend\components\SwitchAction::className(), 'className' => Page::className(), 'id' => Yii::$app->getRequest()->get('id'), 'feild' => 'status']];
 }
Пример #3
0
 /**
  * @inheritdoc
  */
 public function actions()
 {
     return ['uploadify' => ['class' => 'backend\\components\\uploadify\\UploadifyAction'], 'ueditor' => ['class' => \backend\components\ueditor\UeditorAction::className()]];
 }