• Main Page
  • Modules
  • Classes
  • Files
  • File List

classes/log/MonographFileEventLogEntry.inc.php

00001 <?php
00002 
00016 import('classes.log.OmpEventLogEntry');
00017 
00018 
00019 // File upload/delete event types.
00020 define('MONOGRAPH_LOG_FILE_UPLOAD', 0x50000001);
00021 define('MONOGRAPH_LOG_FILE_DELETE', 0x50000002);
00022 define('MONOGRAPH_LOG_FILE_REVISION_UPLOAD', 0x50000008);
00023 define('MONOGRAPH_LOG_FILE_REVISION_DELETE', 0x50000009);
00024 
00025 // Audit events
00026 define('MONOGRAPH_LOG_FILE_AUDITOR_ASSIGN',     0x50000004);
00027 define('MONOGRAPH_LOG_FILE_AUDITOR_CLEAR',      0x50000005);
00028 define('MONOGRAPH_LOG_FILE_AUDIT_UPLOAD',       0x50000006);
00029 define('MONOGRAPH_LOG_FILE_SIGNOFF_SIGNOFF',    0x50000007);
00030 
00031 class MonographFileEventLogEntry extends OmpEventLogEntry {
00035    function MonographFileEventLogEntry() {
00036       parent::OmpEventLogEntry();
00037    }
00038 
00039    function setFileId($fileId) {
00040       return $this->setAssocId($fileId);
00041    }
00042 
00043    function getFileId() {
00044       return $this->getAssocId();
00045    }
00046 }
00047 
00048 ?>

Generated on Mon Sep 17 2012 13:58:55 for Open Monograph Press by  doxygen 1.7.1