now all controllers have access to it as well
On 26 Jun., 00:45, Miles J <mileswjohn...@gmail.com> wrote:
> Place it in your AppController and make sure your other controllers
> extend it.
>
> On Jun 25, 4:59 am, Dominik Gajewski <dominikgajews...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > Hi
>
> > I would like to ask about getting access to method from another contoller
>
> > I have DocumentsController where I have method _getError($error) (of
> > course this method has no direct access). I would like to use this
> > method in another controller.
> > Is It possible?? If yes, how should I do that??
>
> > --
> > Dominik Gajewski
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment