Home  >  Article  >  Backend Development  >  A brief discussion on Zii component core architecture design

A brief discussion on Zii component core architecture design

伊谢尔伦
伊谢尔伦Original
2017-06-15 14:08:451590browse

CJuiSliderInput displays a slider, which also encapsulates the JUI slider plug-in and can be used in a Form as a user input UI component. The basic usage is as follows: beginWidget('CActiveForm'); ?> ​ errorSummary($model); ?> widget('zii.widgets.jui.CJuiSliderInput', array( 'model'=>$model, 'attribute'=>'size', 'name'=>'my_slider', 'value'=>50, 'event'=>'change', &

#1. PHP Development Framework Yii Framework Tutorial (40) Zii Component-SliderInput Example

A brief discussion on Zii component core architecture design

Introduction: CJuiSliderInput displays a slider, which also encapsulates the JUI slider plug-in and can be used in a Form as a user input UI component.

2. PHP Development Framework Yii Framework Tutorial (39) Zii Component-Slider Example

A brief discussion on Zii component core architecture design

Introduction: CJuiSlider displays a slider that can be used to zoom images or use it for other functions. It encapsulates the JUI slider plug-in.

3. PHP Development Framework Yii Framework Tutorial (38) Zii Component-ProgressBar Example

A brief discussion on Zii component core architecture design

Introduction: CJuiProgressBar displays a progress bar. It encapsulates the JUI Progressbar plugin. CJuiProgressBar displays a progress bar. It encapsulates the JUI Progressbar plug-in

4. PHP Development Framework Yii Framework Tutorial (37) Zii Component-Dialog Example

A brief discussion on Zii component core architecture design

Introduction: CJuiDialog is used to display dialog boxes, modal or non-modal dialog boxes. It encapsulates the JUI Dialog plug-in.

5. PHP Development Framework Yii Framework Tutorial (36) Zii Component-DatePicker Example

A brief discussion on Zii component core architecture design

Introduction: CJuiDatePicker is used for date input. It encapsulates the JUI datepicker plug-in. Its basic usage is as follows:

6. PHP Development Framework Yii Framework tutorial (35) Zii component-Button example

A brief discussion on Zii component core architecture design

##Introduction: CJuiButton displays the button, CJuiButton both It can be used as a Submit button or as a normal button.

7. PHP Development Framework Yii Framework Tutorial (34) Zii Component-AutoComplete Example

A brief discussion on Zii component core architecture design

Introduction: CJuiAutoComplete can automatically prompt the user for text that can be entered based on the first few characters entered by the user. It encapsulates the JUI autocomplete plugin.

8. PHP Development Framework Yii Framework Tutorial (33) Zii Component-Accordion Example

A brief discussion on Zii component core architecture design

Introduction: The Zii component contains some JQuery-based UI components, which are defined in the package zii.widgets.jui, including CJuiAccordion, CJuiAutoComplete, CJuiDatePicker, etc. This article introduces CJuiAccordion, which displays an Accordion component (a UI component that can be folded like an accordion). This control encapsulates the JUI Accordion plug-in.

9. PHP Development Framework Yii Framework Tutorial (32) Zii Component-GridView Example

A brief discussion on Zii component core architecture design

Introduction: CGridView displays data in the form of tables. CGridView also supports paging and sorting. The most basic usage of CGridView and ListView type is also by setting the data provider, usually CActiveDataProvider.

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

A brief discussion on Zii component core architecture design

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]:

How does the PHP framework Yii component ensure that the generated code is neat, uncluttered, and elegant

The above is the detailed content of A brief discussion on Zii component core architecture design. 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