that will be for sure, that is on wrong place...put it in app\app_helper and
make class:

{{{

class AppHelper extends Helper
{
   //some methods, if u use __construct method, make sure that you call
parent::__construct() too
}

}}}
--
Tilen Majerle
http://majerle.eu



2010/9/24 S Silva <ssil...@gmail.com>

> Maybe app_helper is in the wrong place?
>
> 2010/9/24 dhiraj ray <dhiraj.r...@gmail.com>
>
> hi
>>
>> i'm trying to make function isactive in root in file app_helper
>>
>> i call this function in header
>>
>> $html->isactive();
>>
>> sow error function not decleare
>>
>> plese help
>>
>> thanks in advance.
>>
>> Check out the new CakePHP Questions site http://cakeqs.org and help
>> others with their CakePHP related questions.
>>
>> You received this message because you are subscribed to the Google Groups
>> "CakePHP" group.
>> To post to this group, send email to cake-php@googlegroups.com
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>>  more options, visit this group at
>> http://groups.google.com/group/cake-php?hl=en
>>
>
>  Check out the new CakePHP Questions site http://cakeqs.org and help
> others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to