ekstazi / yii2-crud-actions
Actions for basic crud
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-12-05 19:32:46 UTC
README
Set of classes for yii2 for rapid prototyping CRUD actions. Example of using:
public function actions() { return [ 'index' => [ 'class' => IndexAction::className(), 'modelClass' => <modelClass>, ], 'create' => [ 'class' => CreateAction::className(), 'modelClass' => <modelClass>, ], 'update' => [ 'class' => UpdateAction::className(), 'modelClass' => <modelClass>, ], 'delete' => [ 'class' => DeleteAction::className(), 'modelClass' => <modelClass>, ], 'view' => [ 'class' => ViewAction::className(), 'modelClass' => <modelClass> ] ]; }
For details, see the description of the api in doc folder
yii2-crud-actions
Набор классов для yii2 для быстрого прототипирования CRUD-действий. Пример использования:
public function actions() { return [ 'index' => [ 'class' => IndexAction::className(), 'modelClass' => <modelClass>, ], 'create' => [ 'class' => CreateAction::className(), 'modelClass' => <modelClass>, ], 'update' => [ 'class' => UpdateAction::className(), 'modelClass' => <modelClass>, ], 'delete' => [ 'class' => DeleteAction::className(), 'modelClass' => <modelClass>, ], 'view' => [ 'class' => ViewAction::className(), 'modelClass' => <modelClass> ] ]; }
Для подробностей смотрите описание api в папке doc