I am in no way endorsing this as a good way to go (I say this so Nate
will not bite my head off)  but look at this

<http://www.thinkingphp.org/2007/01/22/how-to-properly-create-a-model-instance-manually/>

On 4/19/07, Genius_kld <[EMAIL PROTECTED]> wrote:
>
> On 19 апр, 19:15, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > Did you search the google group for some help?  See if there is any help 
> > here
> >
> > <http://groups.google.com/group/cake-php/search?q=component+model&;>
> >
>
>
> nothing useful found;
>
> this realisation works:
>
>   function startup(&$controller)
>     {
>         $this->User = $controller->User;
>     }
>
> but I don't want to include 'User' model for each controller.
>
>
> >
>


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

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

Reply via email to