I have a little question:
I red
http://framework.zend.com/manual/en/zend.db.table.relationships.html#zend.db.table.relationships.defining
this article where is explained how to define table relationships.
I liked the way you can retrieve related data by calling magic methods like
$user1234->findBugs(). This works well if your table gateway class name is
'Bugs'. However, in my application all the table class names are
'Application_Model_DbTable_...' and I don't like to call methods like
$user1234->findApplication_Model_DbTable_Bugs().
Is there a way to define a standard DbTable class prefix such that my class
name is Application_Model_DbTable_Bugs but I can call the method
$user1234->findBugs()?
Thanks a lot.
Bye,
Gianni
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/DbTable-class-prefix-tp3085254p3085254.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论