摘要:
1. 在控制器中使用:public function actionCreate() { $model=new News; $purifier = new CHtmlPurifier(); $purifier->options = array( ... 阅读全文
摘要:
string 'content' (length=7) 'c' => string 'index' (length=5) 'a' => string 'lists' (length=5) ... 阅读全文
摘要:
调用YII框架中jquery:Yii::app()->clientScript->registerCoreScript('jquery');调用YII框架中jquery:Yii::app()->clientScript->registerCoreScript('jquery');framework/... 阅读全文