I am a little confused by the Doctrine class. I created a class and its base class in Doctrine. Class Name - User.
so..I created an object of class User.
$oUser = new User();
when I try to use the method findAll, it does not work. I found the following code in the doctrine documentation:
Doctrine_Core::getTable('User')->findAll();
I do not understand why I need to call getTableto use the method findAllwhen I have a user class.
Did I miss something?
source
share