I have the same problem with this person here:
http://groups.google.com/group/cake-php/browse_thread/thread/1a8220651a9741ca/3c1473208724bdb7?lnk=gst&q=helper&rnum=21#3c1473208724bdb7
Nobody helped...
The problem with helper is within a function, outside is works
normally...
Even if i try to put the clause GLOBAL $html with the function it
doesn't work
and $html = new HtmlHelper neither.
if I do this: pr( $html ); it does not show anything...
outside the function it show a completed infomation about $html;
Has anyone here any hint how to solve this?
Remembering, either clausule global $html or $html = new HtmlHelper;
*inside* the function (which is declared inside the element)
I found a damn solution,
function blah ($param1, $param2, $...., &$html) { pr ($html); }
This works... but i don't think anyone here would like to do this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---