De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
> de digital spaghetti
> Enviado el: MiƩrcoles, 11 de Abril de 2007 05:23 a.m.
> Para: [EMAIL PROTECTED]
> Asunto: Re: Search function for application
>
> If its a search controller, rather
D] En nombre
de digital spaghetti
Enviado el: MiƩrcoles, 11 de Abril de 2007 05:23 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Search function for application
If its a search controller, rather than in the users controller you
need to make sure you delare $uses at the top of the cont
In your controller
If (isset($this->data['User']['username']))
{
$user = $this->User->findByUsername($this->data['User']['username']);
}
If its a search controller, rather than in the users controller you
need to make sure you delare $uses at the top of the contoller
$uses = array('User');