Helpers are for views, If you care wanting to call it in your model, you
are doing something wrong as it does not conform to the MCV methodology. I
would suggest looking into behaviors as those are traditionally used to
share code between models.

~Michael



On Thu, Jun 7, 2012 at 10:36 AM, ButuzGOL <[email protected]> wrote:

> CakePHP 2
>
> I have a Helper
>
> class CustomHelper extends AppHelper {
>    public function notification() {
>       ....
>    }
> }
>
> And I want to call method notification from Helper in Model. What I
> have to do for it ?
>
> --
> 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

Reply via email to