/**
  * Build/fetch and return a controlled vocabulary for agencies.
  * @param $submissionId int
  * @return ControlledVocab
  */
 function build($submissionId)
 {
     return parent::build(CONTROLLED_VOCAB_SUBMISSION_AGENCY, ASSOC_TYPE_SUBMISSION, $submissionId);
 }
Ejemplo n.º 2
0
 function build($schedConfId)
 {
     return parent::build(PAPER_TYPE_SYMBOLIC, ASSOC_TYPE_SCHED_CONF, $schedConfId);
 }
Ejemplo n.º 3
0
 /**
  * Build/fetch and return a controlled vocabulary for keywords.
  * @param $submissionId int
  * @return ControlledVocab
  */
 function build($submissionId)
 {
     // may return an array of ControlledVocabs
     return parent::build(CONTROLLED_VOCAB_SUBMISSION_KEYWORD, ASSOC_TYPE_SUBMISSION, $submissionId);
 }
Ejemplo n.º 4
0
 /**
  * Create or return the Controlled Vocabulary for interests
  * @return ControlledVocab
  */
 function build()
 {
     return parent::build(CONTROLLED_VOCAB_INTEREST);
 }
Ejemplo n.º 5
0
 /**
  * Build the Category controlled vocabulary.
  * @return ControlledVocab
  */
 function build()
 {
     return parent::build(CATEGORY_SYMBOLIC, 0, 0);
 }
Ejemplo n.º 6
0
 function build($userId)
 {
     return parent::build(CONTROLLED_VOCAB_INTEREST, ASSOC_TYPE_USER, $userId);
 }