yufu0304 2011-12-26 01:38:33 2789次浏览 5条回复 0 0 0

点击后model Generator (http://localhost/myblog/index.php?r=gii/model ) 后 会报错

报错内容 D:\wamp\www\yii-1.1.8.r3324\framework\YiiBase.php(225)

213             {
214                 unset($args[0]);
215                 $class=new ReflectionClass($type);
216                 // Note: ReflectionClass::newInstanceArgs() is available for PHP 5.1.3+
217                 // $object=$class->newInstanceArgs($args);
218                 $object=call_user_func_array(array($class,'newInstance'),$args);
219             }
220         }
221         else
222             $object=new $type;
223 
224         foreach($config as $key=>$value)
225             $object->$key=$value;

求好心解答,谢谢咯

您需要登录后才可以回复。登录 | 立即注册