echo CHtml::htmlButton('Click me!');
echo CHtml::htmlButton('Submit', array( 'disabled'=>true, 'class'=>'btn btn-warning', 'title'=>'Please fill out the form before submitting', ));This will create a disabled HTML button with the label 'Submit', a custom style defined by the 'btn btn-warning' class and a tooltip with the message 'Please fill out the form before submitting'. Package/Library: Yii Framework - a PHP web application framework.