protected function getRelationMap($relationName) { $tableMap = call_user_func(array($this->getPeer(), 'getTableMap')); return $tableMap->getRelation($relationName); }