Extension:Views

Brings some templating in dev process to separate html and php.

Instead of using inline html blocks in php, just use Views.

Usage
<? echo $a ?> Somewhere in you code call Views: $data = array( $a => 'hello' ); $html = Views::forge('template', $data); This will parse template, extract variables and return result into $html variable.
 * 1) While developing extension create directory called "views" in your extension folder.
 * 2) Pleace some standard php-templates in this directory, for example: template.php with contents

Result will be: hello 

Thats it!