Hi, I've encountered a problem when calling helper methods from within
an element that's called by a view.

The controller of the view has "$helpers = array('Html', 'Custom');",
and thus in the view I can do $custom->method();

But if the view does "renderElement('elem')" and the element (in
views/elements/elem.thtml) tries to access $custom->method I get "Call
to a member function on a non-object".

Could anyone help?

Thanks in advance (and excuse my english)
-foca


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to