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