/** * Set the defaults * * @param ConceptProperty $concept_property */ public function setDefaults($concept_property) { $conceptId = $this->concept->getId(); $conceptStatus = $this->concept->getStatusID(); $conceptLanguage = $this->concept->getLanguage(); $vocabId = $this->concept->getVocabularyId(); $concept_property->setConceptId($conceptId); $concept_property->setStatusId($conceptStatus); $concept_property->setLanguage($conceptLanguage); $concept_property->setSchemeId($vocabId); if (!$concept_property->getCreatedUserId()) { $concept_property->setCreatedUserId($this->getUser()->getSubscriberId()); } parent::setDefaults($concept_property); }