Thanks you, Mathew, I'll try!
Matthew Weier O'Phinney-3 wrote:
>
> -- minglee <[EMAIL PROTECTED]> wrote
> (on Tuesday, 31 July 2007, 09:49 AM -0700):
>> I did according to you told, but an error of "Action Helper find by name
>> 'MyHelp' not found' occurred. 'MyHelp' is the name of helper class.
-- minglee <[EMAIL PROTECTED]> wrote
(on Tuesday, 31 July 2007, 09:49 AM -0700):
> I did according to you told, but an error of "Action Helper find by name
> 'MyHelp' not found' occurred. 'MyHelp' is the name of helper class. I think
> there is a path setting problem. What is your suggestion for my
Hi, 13sio
I did according to you told, but an error of "Action Helper find by name
'MyHelp' not found' occurred. 'MyHelp' is the name of helper class. I think
there is a path setting problem. What is your suggestion for my case? I put
MyHelp in /wwwroot/zf/application/helpers/.
Thanks a lot!
13s
I see, thank you, 13sio!
13sio wrote:
>
> Hi minglee,
>
> For Zend_Controller_Action_HelperBroker::addPath(string $path, [string
> $prefix = 'Zend_Controller_Action_Helper']), the second argument is the
> prefix of the helpers.
>
> In your case,
> Zend_Controller_Action_HelperBroker::addPath('
Hi minglee,
For Zend_Controller_Action_HelperBroker::addPath(string $path, [string
$prefix = 'Zend_Controller_Action_Helper']), the second argument is the
prefix of the helpers.
In your case,
Zend_Controller_Action_HelperBroker::addPath('./application/helpers/',
'MyHelper') means that the helper
Hi, guys.
I wrote a helper class (extends Zend_Controller_Action_Helper_Abstract), and
put it in 'wwwroot/zf/application/helpers/', named as MyHelper.
Then I add
'Zend_Controller_Action_HelperBroker::addPath('/zf/application/helpers/',
'MyHelper');' in init() method of my controller class,
and c