Thanks matt sorry about that. Ive implemented a custom View class for
rendering pear's html_template_flexy templates as its more designer
friendly. Im having an issue there where its compiling its templates
with method_exists so call doesnt get run. When i try $this->method
$this is calling the template class , it seems $t is compiled as the
view pointer so $t->method() works.
My problem with these helper classes now though is, i needed these
methods to output things like a custom image or button image. But these
are reliant on some session variables, so i guess i have to get the
session from the $this->view class which i set it from a registry correct ?
Matthew Weier O'Phinney wrote:
-- Dan Rossi <[EMAIL PROTECTED]> wrote
(on Tuesday, 07 August 2007, 11:06 PM +1000):
Hi ive gone through all the documentation to create a view helper, so i
can call some methods in the view scripts however call never gets run ,
im still getting this "Call to undefined method"
Hard to diagnose without the following:
* the view helper
* a view script where you attempt to call the view helper
Please provide these, and I'll see if I can diagnose the issue.