What you can do when using eclipse is doing such: In the declaration of the $this->usuario property, add this comment bloc: /** * * @var sf**Route */ Then Eclipse will know the type of this var.
Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Jul 15, 2010 at 7:39 AM, Bernhard Schussek <[email protected]>wrote: > Hi Javier, > > That's because the return type of getRoute() is defined as sfRoute[1], > which doesn't have a getObject() method. Eclipse can't know that this > method returns a sfObjectRoute in this specific case. > > Bernhard > > [1] > http://trac.symfony-project.org/browser/branches/1.4/lib/action/sfAction.class.php#L505 > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en
