00001 <?php
00002
00017 import('classes.monograph.MonographDiscipline');
00018 import('lib.pkp.classes.controlledVocab.ControlledVocabEntryDAO');
00019
00020 class MonographDisciplineEntryDAO extends ControlledVocabEntryDAO {
00024 function MonographDisciplineEntryDAO() {
00025 parent::ControlledVocabEntryDAO();
00026 }
00027
00032 function newDataObject() {
00033 return new MonographDiscipline();
00034 }
00035
00042 function getByControlledVocabId($controlledVocabId, $rangeInfo = null) {
00043 $result =& $this->retrieveRange(
00044 'SELECT cve.* FROM controlled_vocab_entries cve WHERE cve.controlled_vocab_id = ? ORDER BY seq',
00045 array((int) $controlledVocabId),
00046 $rangeInfo
00047 );
00048
00049 $returner = new DAOResultFactory($result, $this, '_fromRow');
00050 return $returner;
00051 }
00052 }
00053
00054 ?>