00001 <?php 00002 00016 import('lib.pkp.classes.log.EmailLogDAO'); 00017 import('classes.log.MonographEmailLogEntry'); 00018 00019 class MonographEmailLogDAO extends EmailLogDAO { 00023 function MonographEmailLogDAO() { 00024 parent::EmailLogDAO(); 00025 } 00026 00031 function newDataObject() { 00032 $returner = new MonographEmailLogEntry(); 00033 $returner->setAssocType(ASSOC_TYPE_MONOGRAPH); 00034 return $returner; 00035 } 00036 00044 function getByEventType($monographId, $eventType, $userId = null) { 00045 return parent::getByEventType(ASSOC_TYPE_MONOGRAPH, $monographId, $eventType, $userId); 00046 } 00047 } 00048 00049 ?>
1.7.1