Hi.

I want to extend Zend_Db_Table_Row_Abstract to have some additional fields
besides those from table.

Example.

I have

class Automobili_Model_Car extends Zend_Db_Table_Abstract {
        protected $_name = 'car';
        protected $_rowClass = 'Automobili_Model_Row_Car';
}

and 

class Automobili_Model_Row_Car extends Zend_Db_Table_Row_Abstract {
}

Car table have model_id, which refers to model table (corsa, clio...), I
want Automobili_Model_Row_Car to have model loaded from dependent table
model, not just model_id from car table.

What is the right weay to do it?

Regards,
Sasa Stamenkovic.
-- 
View this message in context: 
http://n4.nabble.com/Extending-Zend-Db-Table-Row-Abstract-tp1559336p1559336.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to