00001 <?php
00002
00016 import('lib.pkp.classes.log.EventLogDAO');
00017 import('classes.log.MonographEventLogEntry');
00018
00019 class MonographEventLogDAO extends EventLogDAO {
00023 function MonographEventLogDAO() {
00024 parent::EventLogDAO();
00025 }
00026
00031 function newDataObject() {
00032 $returner = new MonographEventLogEntry();
00033 $returner->setAssocType(ASSOC_TYPE_MONOGRAPH_FILE);
00034 return $returner;
00035 }
00036
00042 function &getByMonographId($monographId) {
00043 $returner =& $this->getByAssoc(ASSOC_TYPE_MONOGRAPH, $monographId);
00044 return $returner;
00045 }
00046 }
00047
00048 ?>