public function addAssociation($name, $association) { $association->setFromTable($this->_table); $this->_associations[$name] = $association; }