In MVC ,we have to write everything in controller.
In zend2 ,there is a feature of event.
I think we should add this feature in yii2.0 release.
Or if it is already in yii,let me know,so I came to know,how to use it.
Page 1 of 1
Want Event Feature Want Event listener in yii 2.0
#2
Posted 26 March 2013 - 03:46 AM
I'm not sure if I understand your question correctly, but I think you might be looking for the (existing) CAction class. Within that class you can implement everything you need for 1 specific action. This class can then be registered on a controller with any action id you want.
For more information see:
CAction
CController.actions()
For more information see:
CAction
CController.actions()
#3
Posted 26 March 2013 - 03:53 AM
I am suggesting a move-model,operation,view ,event framework,like zend2 ,for yii,I am trying to study,what you have suggested,can be helpful to that or not.
#5
Posted 28 March 2013 - 12:22 AM
Share this topic:
Page 1 of 1

Help
This topic is locked













