2017 © Pedro Peláez
 

library yii2actions

override default actions

image

andkon/yii2actions

override default actions

  • Thursday, June 22, 2017
  • by andkon13
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,748 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 17 % Grown

The README.md

yii2actions

<, (*1)

pre> Default actions for yii2. What would not write monotonous action games and views to them. Экшены по умолчанию для yii2. Что б не писать однообразные экшены и вьюшки к ним, (*2)

Uses:, (*3)

class UsersController extends andkon\yii2actions\Controller { protected $model = '\app\modules\users\models\Users'; }, (*4)

goto http://site/index.php?r=users/ [index|update|create|view], (*5)

In controllers it is no longer necessary to write the monotonous actionIndex, actionUpdate, and so on. It is not required to do monotonous views on different models. If necessary, both actions and views are redefined by adding them., (*6)

в контроллерах больше не надо писать однообразные функции actionIndex, actionUpdate и тд. не требуется делать однообразные вьюшки на разные модели. При необходимости и экшены и вьюшки переопределяются путем их добавления., (*7)

TODO: create controller templates for gii, (*8)

The Versions

22/06 2017

dev-master

9999999-dev

override default actions

  Sources   Download

proprietary

The Requires

  • php >=5.4.0

 

The Development Requires

by Andrey Konenkov

01/12 2015

2.x-dev

2.9999999.9999999.9999999-dev

override default actions

  Sources   Download

proprietary

The Requires

  • php >=5.4.0

 

The Development Requires

by Andrey Konenkov