我是Yii
框架的新手,我试图gii
从代码中动态调用模型生成器,我找不到任何示例来执行此操作。那么有没有办法动态调用模型生成器和 CRUD 生成器呢?
问问题
263 次
1 回答
0
First you go /protected/config/main.php and un-comment the following code.
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'1',
// If removed, Gii defaults to localhost only. Edit carefully to taste.
'ipFilters'=>array('127.0.0.1','::1'),
),
),
then go through url localhost/../index.php?r=gii
于 2014-11-13T17:34:51.480 回答