Using __HTML and INPUT class

The __HTML class and INPUT class are helper classes that helps you build and output HTML string from within your code.

Consider this tag:

HTML Link Example

To use this in your code, simply type \__HTML::A('Link',''). This will make your code clearer and more maintainable.

You can also set more attributes, e.g. \__HTML::A('Link','', array('class'=>'form-control','id'=>'link-id');

The is also a helper class for HTML form input.