Open Journal Systems  3.0.0
 All Classes Namespaces Functions Variables Groups Pages
SubmissionKeywordEntryDAO.inc.php
1 <?php
2 
17 import('lib.pkp.classes.submission.SubmissionKeyword');
18 import('lib.pkp.classes.controlledVocab.ControlledVocabEntryDAO');
19 
25  parent::ControlledVocabEntryDAO();
26  }
27 
32  function newDataObject() {
33  return new SubmissionKeyword();
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 
49  return new DAOResultFactory($result, $this, '_fromRow');
50  }
51 }
52 
53 ?>
Basic class describing a submission keyword.
getByControlledVocabId($controlledVocabId, $rangeInfo=null)
& retrieveRange($sql, $params=false, $dbResultRange=null, $callHooks=true)
Definition: DAO.inc.php:174
Wrapper around ADORecordSet providing &quot;factory&quot; features for generating objects from DAOs...
Operations for retrieving and modifying ControlledVocabEntry objects.
Operations for retrieving and modifying a submission&#39;s keywords.