Outputting an HTML entity character from a helper function
- by morpheous
I am using Symfony 1.3.2 on Ubuntu. I have written a little helper function (statsfoo) that prints out summary statistics about an item.
I am using the helper function in my template like this:
// In StatsHelper.php
<?php
function statsfoo($some_param)
{
return "<div class=\"sfoo\">&9830; the stats number for item is…