modular - DefaultController in Yii. Question of naming -



modular - DefaultController in Yii. Question of naming -

i create 2 modules yii framework gii. each module creates own default controller class called "defaultcontroller".

but think wrong, believe should "module1_defaultcontroller" , "module2_defaultcontroller" zend framework.

is true? if so, how rename controllers?

the file class defaultcontroller won't included yii unless request action module. prevent duplicate class name error (which guess suspect) because no 2 module actions can called @ same time (this design).

yii modular

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -