Ejemplo n.º 1
0
 public function setManager(Doctrine_Manager $manager)
 {
     $this->manager = $manager;
     $this->tables[self::PRINCIPAL_MAP_COMPONENT] = $manager->getConnectionForComponent(self::PRINCIPAL_MAP_COMPONENT)->getTable(self::PRINCIPAL_MAP_COMPONENT);
     $this->tables[self::PRINCIPAL_COMPONENT] = $manager->getConnectionForComponent(self::PRINCIPAL_COMPONENT)->getTable(self::PRINCIPAL_COMPONENT);
 }