warjor 2013-10-09 18:47:10 5969次浏览 2条回复 0 0 0

itemView 属性

public string $itemView;

the view used for rendering each data item. This property value will be passed as the first parameter to either [url=">CController::renderPartial or <a href=]CWidget::render[/url] to render each data item. In the corresponding view template, the following variables can be used in addition to those declared in viewData: 

[*]$this: refers to the owner of this list view widget. For example, if the widget is in the view of a controller, then $this refers to the controller. [*]$data: refers to the data item currently being rendered. [*]$index: refers to the zero-based index of the data item currently being rendered. [*]$widget: refers to this list view widget instance. 
  • 回复于 2013-10-10 09:10 举报

    是中国人 但是不是中国国籍, 他参与开发过很多框架 结合各个框架的优势开发出了yii框架,

  • 回复于 2013-10-21 09:04 举报

    yii有好几个开发者呢,用英语是必然的

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