omg thanks.
I tried to backtrace but when i use it in the first line of the new
input method it wouldn't look any else ^^

I really appreciate your help. I will solve this by using a helper in
a helper instead of extending it.

This is the fixed version: http://pastebin.com/TP0X05yU

On Jan 8, 7:13 pm, 清水紘己 <[email protected]> wrote:
> inputs() internally uses input() so infinite loop was caused.
>
> 2012/1/9 func0der <[email protected]>:
>
>
>
>
>
>
>
> > Hey guys,
>
> > just tried to create a Translation helper in cakephp 2.0.
>
> > So i created  a TranslationHelper which extends the FormHelper. I
> > created a public function named "input" which obviously overwrites the
> > input function of the FormHelper.
>
> > Everytime i call it with $this->Translation->input('Product.name'); in
> > a view i get an memory exhausted error and i don't know why.
>
> > The Code for the TranslationHelper is this:http://pastebin.com/uuZMfCC8
>
> > Can anyone explain me why this i happening?
>
> > Greetings
> > func0der
>
> > --
> > Our newest site for the community: CakePHP Video 
> > Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group 
> > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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