Html helper

More
8 months 3 weeks ago #7144 by admin
Html helper was created by admin
Note: If your markup is nearly static, it's better to...

Html helper

Every web application generates lots of HTML markup. If the markup is static, it can be done efficiently by mixing PHP and HTML in a single file, but when it is generated dynamically it starts to get tricky to handle it without extra help. Yii provides such help in the form of an Html helper, which provides a set of static methods for handling commonly used HTML tags, their options, and their content.

Read more...