class Application_Model_DbTable_Kontynent_Row extends Zend_Db_Table_Row { function getPanstwa() { return $this->findDependentRowset('Application_Model_DbTable_Panstwo'); } }
Listing 17.13. Implementacja metody getPanstwa() w klasie reprezentującej rekord z tabeli kontynent
Rozdział 17. Relacje 1:n (jeden do wielu)