getData('assocId'); } /** * set assoc id * @param $assocId int */ function setAssocId($assocId) { $this->setData('assocId', $assocId); } /** * Get associated type. * @return int */ function getAssocType() { return $this->getData('assocType'); } /** * Set associated type. * @param $assocType int */ function setAssocType($assocType) { $this->setData('assocType', $assocType); } /** * Get symbolic name. * @return string */ function getSymbolic() { return $this->getData('symbolic'); } /** * Set symbolic name. * @param $symbolic string */ function setSymbolic($symbolic) { $this->setData('symbolic', $symbolic); } /** * Get a list of controlled vocabulary options. * @param $settingName string optional * @return array $controlledVocabEntryId => name */ function enumerate($settingName = 'name') { $controlledVocabDao = DAORegistry::getDAO('ControlledVocabDAO'); return $controlledVocabDao->enumerate($this->getId(), $settingName); } } ?>