Added Templating Helper for PHP templates