I dont know if i am doing it wrong but i´ve tryed this:

*$rep*=ClassRegistry::init('Representatives.Category');
*$con*=ClassRegistry::init('Contact.Category');
pr(*$rep*->find('first'));
pr(*$con*->find('first'));

But BOTH returns me the same value, the value from RepresentativesCategory, 
but if i change the order of thr pr() function, both shows the value of 
Contatct´s category.

Any idea??

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to