Core Architecture Design of Zii components-php Tutorial

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.