Cake automatically adds a model to your controller based on your controllers name. To disable that, pass an empty $uses.
public $uses = array(); On Nov 23, 8:47 am, AD7six <[email protected]> wrote: > On Nov 23, 5:02 pm, psybear83 <[email protected]> wrote: > > > Hey everybody > > > Because I need it in every controller. > > which is IMO a classic mistake. > > Don't you have $this->OtherModel->User always available? > > AD 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 [email protected] 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
