Revision #5 has been created by Alex Muir on Sep 25, 2009, 7:27:42 PM with the memo:
Deleted erroneous brackets from end of example code
« previous (#4) next (#6) »
Changes
Title
unchanged
By Example: CHtml
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Content
changed
[...]
***
### Example 1: Linking to a controller action
```php
<?php echo CHtml::link('Link Text',array('controller/action'))); ?>
```[...]
```php
<?php echo CHtml::link('Link Text',array('controller/action',
'param1'=>'value1'))); ?>
```[...]
'param1'=>'value1',
'param2'=>'value2',
'param3'=>'value3'))); ?>
```
#### HTML Output:[...]