Articles tagged with "chtml", sorted by date (updated)X
Displaying 1-3 of 3 result(s).

By Example: CHtml

Updated 4 months ago by Rohit SutharTutorials15 comments – viewed 627,803 times – ( +113 / -1 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

Front-end developer's guide

Updated 3 years ago by waitekkTutorials5 comments – viewed 22,718 times – ( +11 ) – version 1.1
This wiki is a work in progress.

htmlOptions explained for various controls.

Updated 4 years ago by WoilTips1 comment – viewed 45,953 times – ( +17 ) – version 1.1
Most controls that are rendered by CHtml have an argument called $htmlOptions. This argument is an array that holds the attributes of the HTML element. For example the following code: