Cdetailview shows the details for a model. The model to be displayed can be either a cmodel or an associative array. Cdetailview configures attributes to determine which properties of the model need to be displayed in what format. Each property can be configured by using Name:Type:Label. Where both type and label are optional. Name of the "name" property. " Label "Optionally, the label name of the property, and if it is not configured, use the property name as the label." Type property, which determines the format of the display by type formatter. The types you can use are raw, text, ntext, HTML, date, Time, DateTime, Boolean, number, email, image, u Rl. And so on, the text is used by default. This example modifies the previous example Yii Framework development Tutorial (zii) component-listview example, modifying the columns of the display list
1. Articles about DetailView recommended nnnnnn
Summary: Cdetailview displays detailed content for a model. The model to be displayed can be either a cmodel or an associative array. Cdetailview configures attributes to determine which properties of the model need to be displayed in what format. Each property can be configured by using Name:Type:Label. Where both type and label are optional. Name of the "name" property. " Label "Optionally, the label name of the property, if not configured, use the property name as ...
2. PHP Development Framework Yii Framework Tutorial (zii) Component-detailview Example
Summary: Cdetailview displays detailed content for a model. The model to be displayed can be either a cmodel or an associative array. Cdetailview configures attributes to determine which properties of the model need to be displayed in what format.
3. How did the DetailView of the Yiichina official website personal data come out?
Introduction: The following is the Yiichina official profile of the Cdetailview Display page: Pay attention to the right, if the value is empty, the display is not set. And it's pink. This is my own writing effect: The main difference is on the right side of the display above the value. The official website to the right of the value of the time is ...
"Related question and answer recommendation":
Python-How to gracefully implement Django Login/registration?
Ios-uisplitviewcontroller, how to display only masterview when vertical screen, master,detail display when horizontal screen
Objective-c-IOS Why the Uisearchbar protocol method always does not execute the following code
Python-use caching in Django to speed up (memcached) confusion?
How did the DetailView of the Php-yiichina official website personal data come out?