Yii Gridview CButtonColumn

CButtonColumn used to renders one or more buttons in gridview columns. Basically cgridview column have three buttons. They are “view”, “update”, “delete” button and it have corresponding actions. We can … Continue Reading →


CHtml ListBox

CHtml::listBox() function is used for creating ListBox in yii framework. This post will help you to understand about how to create ListBox in different method, How to assign value, how … Continue Reading →


CHtml FileField

Using CHtml class we are creating fileField in yii framework. This post will help you to understand about how to upload file in different method, how to get and save … Continue Reading →


CHtml Radio Button List

Using CHtml class we are creating radioButtonList in yii framework. This post will help you to understand about how to create radioButtonList in different method, How to assign value, how … Continue Reading →


CHtml Radio Button

Using CHtml class we are creating radioButton in yii. This post will help you to understand about how to create radioButton in different method, radioButton properties, array value, how to … Continue Reading →


Adobe Edge Rectangle Rotate Animation

This lesson will show you how to create rectangle animation with using this properties like color, transform rotate, width, height, x axis, y axis and timeline properties. Rectangle Animation STEP … Continue Reading →


Adobe Edge Rectangle

This lesson will show you how to create rectangle with using this properties like color, background color, width, height, x axis, y axis and opacity. Draw Rectangle STEP 1: Select … Continue Reading →


CHtml Checkbox

Using CHtml class we are creating checkbox in yii. This post will help you to understand about how to create checkbox in different method, checkbox properties, array value, how to … Continue Reading →


CHtml Button

CHtml is a static class and it is used to generate a button. public static string button(string $label=’button’, array $htmlOptions=array ( )) CHtml class used in CFormButtonElement to represents a … Continue Reading →


CDbDataReader

CDbDataReader reads the rows from a result. CDbDataReader Query <?php $cdbdatareader = Yii::app()->db->createCommand() ->select(‘username, password’) ->from(‘usermaster’) ->query(); ?> columnCount & rowCount <?php echo $cdbdatareader->rowCount; echo $cdbdatareader->columnCount; ?> CDbDataReader Using read(), … Continue Reading →