Difference between #20 and #21 of
By Example: CHtml

Revision #21 has been created by slinstj on Feb 16, 2011, 6:28:03 AM with the memo:

tags and i corrected the option 'disabled'=>true to 'disabled'=>'disabled' that match to W3C standards
« previous (#20) next (#22) »

Changes

Title unchanged

By Example: CHtml

Category unchanged

Tutorials

Yii version unchanged

Tags changed

listData, chtml, link, button

Content changed

[...]
**Example 4: Generating a disabled textfield**

```php
<?php echo CHtml::textField('Text', 'some value',
array('disabled'=>
true'disabled'); ?>
```

## CHtml::listData() method

~~~
[...]
79 0
74 followers
Viewed: 990 013 times
Version: 1.1
Category: Tutorials
Written by: jonah
Last updated by: glicious
Created on: Sep 25, 2009
Last updated: 8 years ago
Update Article

Revisions

View all history