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