Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ReviewFilesDAO Class Reference
Inheritance diagram for ReviewFilesDAO:

Public Member Functions

 check ($reviewId, $fileId)
 grant ($reviewId, $fileId)
 ReviewFilesDAO ()
 revoke ($reviewId, $fileId)
 revokeByReviewId ($reviewId)
- Public Member Functions inherited from DAO
 concat ()
 convertFromDB ($value, $type)
 convertToDB ($value, &$type)
 DAO ($dataSource=null, $callHooks=true)
 dateFromDB ($d)
 datetimeFromDB ($dt)
 datetimeToDB ($dt)
 dateToDB ($d)
 flushCache ()
 formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true)
 getAffectedRows ()
getDataSource ()
 getDirectionMapping ($direction)
 getDriver ()
 getType ($value)
 replace ($table, $arrFields, $keyCols)
retrieve ($sql, $params=false, $callHooks=true)
retrieveCached ($sql, $params=false, $secsToCache=3600, $callHooks=true)
retrieveLimit ($sql, $params=false, $numRows=false, $offset=false, $callHooks=true)
retrieveRange ($sql, $params=false, $dbResultRange=null, $callHooks=true)
 setCacheDir ()
 setDataSource (&$dataSource)
 update ($sql, $params=false, $callHooks=true, $dieOnError=true)
 updateDataObjectSettings ($tableName, &$dataObject, $idArray)

Additional Inherited Members

- Static Public Member Functions inherited from DAO
static getDataChangedEvent ($elementId=null, $parentElementId=null)
- Public Attributes inherited from DAO
- Protected Member Functions inherited from DAO
 _getInsertId ($table= '', $id= '')

Detailed Description

Operations for managing review round / submission file associations. These control which files are available for download by reviewers during review.

Definition at line 17 of file

Member Function Documentation

ReviewFilesDAO::check (   $reviewId,

Check review file availability


Definition at line 75 of file

References DAO\retrieve().

ReviewFilesDAO::grant (   $reviewId,

Grant a review file to a review.

$reviewIdint Review assignment ID
$fileIdint Review file ID

Definition at line 30 of file

References DAO\update().

ReviewFilesDAO::ReviewFilesDAO ( )


Definition at line 21 of file

ReviewFilesDAO::revoke (   $reviewId,

Revoke a review's association with a review file.

$reviewIdint Review assignment ID.
$fileIdint Review file ID.

Definition at line 48 of file

References DAO\update().

ReviewFilesDAO::revokeByReviewId (   $reviewId)

Revoke a review's association with all submission files.

$reviewIdint Review assignment ID.

Definition at line 62 of file

References DAO\update().

The documentation for this class was generated from the following file: