Open Journal Systems  3.0.0
 All Classes Namespaces Functions Variables Groups Pages
SubmissionDisciplineEntryDAO.inc.php
1 <?php
2 
17 import('lib.pkp.classes.submission.SubmissionDiscipline');
18 import('lib.pkp.classes.controlledVocab.ControlledVocabEntryDAO');
19 
25  parent::ControlledVocabEntryDAO();
26  }
27 
32  function newDataObject() {
33  return new SubmissionDiscipline();
34  }
35 
42  function getByControlledVocabId($controlledVocabId, $rangeInfo = null) {
43  $result = $this->retrieveRange(
44  'SELECT cve.* FROM controlled_vocab_entries cve WHERE cve.controlled_vocab_id = ? ORDER BY seq',
45  array((int) $controlledVocabId),
46  $rangeInfo
47  );
48  return new DAOResultFactory($result, $this, '_fromRow');
49  }
50 }
51 
52 ?>
& retrieveRange($sql, $params=false, $dbResultRange=null, $callHooks=true)
Definition: DAO.inc.php:174
Operations for retrieving and modifying a submission&#39;s disciplines.
Wrapper around ADORecordSet providing &quot;factory&quot; features for generating objects from DAOs...
Basic class describing a submission discipline.
Operations for retrieving and modifying ControlledVocabEntry objects.
getByControlledVocabId($controlledVocabId, $rangeInfo=null)