Home  >  Article  >  Backend Development  >  Recommended articles about DetailViewnnnnnn

Recommended articles about DetailViewnnnnnn

黄舟
黄舟Original
2017-06-15 14:43:571523browse

CDetailView displays detailed content for a Model. The Model to be displayed can be CModel or an associative array. CDetailView determines which attributes of the Model need to be displayed in which format by configuring attributes. Each property can be configured using Name:Type:Label. Both Type and Label are optional. "Name" attribute name. "Label" is optional, the label name of the attribute. If it is not configured, the attribute name is used as the label name. "Type" The type of the attribute. The displayed format is determined by the type. Types that can be used There are raw, text, ntext, html, date, time, datetime, boolean, number, email, image, url., etc., and text is used by default. This example modifies the above example Yii Framework Development Tutorial (30) Zii component-ListView example, Modify the columns of the display list

1. PHP Development Framework Yii Framework Tutorial (31) Zii Component-DetailView Example

Recommended articles about DetailViewnnnnnn

Introduction: CDetailView displays detailed content for a Model. The Model to be displayed can be CModel or an associative array. CDetailView determines which attributes of the Model need to be displayed in which format by configuring attributes.

【Related Q&A recommendations】:

The above is the detailed content of Recommended articles about DetailViewnnnnnn. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn