Category Archives: yii

yii widget的简单使用

← Continue Reading
WIDGET定义很简单,如果你在/protected/widget/test/下建立了一个名为“testWidget.php”的widget。   在视图中调用需要这样写:   $this->beginWidget('application.widget.test.testWidget');   $this->endWidget(); testWidget...

YII UserController cannot find the requested view “_form”解决方案

← Continue Reading
windows 下YII出现 1、UserController cannot find the requested view "_form" 错误 or 2、yii PHP warning require() [<a href='function.require'>function.require</a>]: 建议使用gii 我使用之前在教程里面的方法在命令提示符里面 使用...