Yii-View-CListView operation extension usage (zyd)

Source: Internet
Author: User
View file [html] & lt ;? Php $ add_drop = CHtml: dropDownList (& amp; #39; catlist & amp; #39;, & amp; #39; & amp; #39;, CmpCat :: model ()-& gt; getCmpCat (& amp; #39; move to category & amp; #39;), array (& a view file [html] GetCmpCat ('move to category'), array ('class' =>'s _ ipw_120 removedropcatbatch '); $ remove_drop = CHtml: dropDownList ('catlist ','', cmpCat: model ()-> getCmpCat ('add to category'), array ('class' =>'s _ ipw_120 adddropcatbatch')?> Widget ('zii. widgets. CListView ', array ('dataprovider' => $ model-> search (), 'itemview' => 'product _ saleing_view', 'emptytext' => 'No data temporarily ', 'selectall' => array ('IDS [] ', 'Id []'), 'artlink' => array (// The homepage recommends array (Yii :: t ('cmp ', 'recommended home'),'/company/product/recommend', 'confirm that the product is Recommended to the homepage! '), // Cancel recommendation array (Yii: t ('cmp', 'un Recommended home'), '/company/product/uncommend ', 'confirm to cancel the product selection! '), // Dismounting array (Yii: t ('cmp', 'downshelf'), '/company/product/downshelf', 'confirm to list the selected products! '),), 'Batchitem' => array (// Move to Category $ add_drop, // add to Category $ remove_drop,);?> Jq code [html]

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.