CJuiSliderInput displays a slide. it also encapsulates the JUIslider plug-in and can be used in Form as the UI component for user input. Basic usage: beginWidget (& amp; #39; CActiveForm & amp; #39;); & amp; nbsp ;? & Amp; gt; & amp; nbsp; errorSummary ($ model); & amp; nbsp ;? & Amp; gt; widget (& amp; #39; zii. widgets. jui. CJuiSliderIn... CJuiSliderInput displays a slide. it also encapsulates the JUI slider plug-in and can be used in Form as the UI component for user input. 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
Introduction: CDetailView displays details for a Model. The Model to be displayed can be a CModel or an associated array. CDetailView configures attributes to determine the format in which the attributes of the Model must be displayed.
[Related Q & A recommendations ]:
How can the yii component of the php framework ensure that the generated code is neat, non-messy, and elegant?
The above describes the core architecture design of Zii components. For more information, see other related articles in the first PHP community!