public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) { $pos = CurriculumPeer::translateFieldName($name, $type, BasePeer::TYPE_NUM); return $this->setByPosition($pos, $value); }