Here i added the code for CListview of yii. Using this we can assign the parent tag name and class of parent tag to CListview. <?php $this->widget(‘zii.widgets.CListView’, array( ‘id’=>’commentslistview’, /** tag name **/ ‘itemsTagName’=>’ul’, /** calss name **/ ‘itemsCssClass’=>’commentslist’, ‘dataProvider’=>$commentsProvider, ‘itemView’=>’_comments’, )); ?>
Category Archives: Yii Widget
I learned “How To Create Widget” in yii. Just i created welcome widget for my application. What is widget Create Widget Class Create Widget View Call Widget function What is widget Widget is a small gadget.An application or a component of an interface, that enables a user to perform a function or access a service. […]
Is Rating or Voting concept available in yii? Yes It Is available in yii framework. CStarRating class show the star rating widget in yii framework. It is used to get the rating details of user. It is based on jQuery Star Rating Plugin. We can show this star and assign the value to this stars. […]