Monday, July 2, 2012

User list in a plugin

Hi,
i have installend a plugin on cakephp2,
but now i want to see a list of user.
the model name of my Plugin is: Event
the model name of my User Class is: User
i try to set in the plugin: $idusers = $this->Event->User->find('all');

but they don't take me a user list.. i think that the problem is that i call a class in the plugin..
some can help me?

thank

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: