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