문제

i am using the gii generator to create a module.

the issue is when i try to create a form or some model for that module... i can't tell it to generate those files in that module... it only does it in the main application folders.

any ideas?

thanks.enter image description here

도움이 되었습니까?

해결책

To create a model for a specific module in yii you can give input to the model path text field like 'application.modules..models'.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top