yii框架中建立表单请问错在哪Parse error: syntax error, unexpected '=', expecting ')' in E:\WEB\yii-1.1.8.r3324\pr

时间:2021-10-03 09:51:06
 

<?php

class HelloworldController extends Controller
{
  public $strToDisplayByPull = 'Hello';

public function actionIndex()
{
$this->renderPartial('index',array(
"strToDisplayByPush"=>"World"
));
}

public function activeFeedback()
{
$model=new FeedbackForm;
$this->renderpartial('feedback',array("model"=>$model));
}
}