im using 1.3
how do i load it manually?

thx :)

On 14 Mai, 09:38, AD7six <[email protected]> wrote:
> On Sunday, 13 May 2012 11:17:55 UTC+2, luftlinie wrote:
>
> > hi,
>
> > i wanna use striplinks from Text helper but cake gives me this error
>
> > Notice (8): Undefined property: LinksController::$Text [APP
> > \controllers
> > \links_controller.php, line 1480]
>
> > Fatal error: Call to a member function stripLinks() on a non-object in
> > blabla on line 1480
>
> > CODE in my controller
> > -------------
> > I used it in a function:
> > $input_desc = $this->Text->stripLinks($_POST['data']);
>
> > and declared the helper
>
> >     var $helpers = array('Login', 'Html', 'Form', 'Ajax', 'Js',
> > 'Text', 'Mailto', 'Time');
>
> Helpers are not accessible like that in a controller - If you want to use
> it you need to load it (completely) manually.
>
> AD

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