yii automatically using gii module in modules ...

yii model is used to automatically generate gii module in modules, CRUD Notes

1, Code Template  * Note Template option select the template under the module


2, when generating CRUD,

Class the Model  * Note that the path to be used, for example, the full path:. Application.modules [modulesname] .models [ modelsname].


ID the Controller  * Note plus the controller module name directory, for example: modulesname / controllerid

Published 117 original articles · won praise 4 · views 80000 +

Guess you like

Origin blog.csdn.net/qq_36266449/article/details/78194656