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

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
 $_dataSource
 
- 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 ReviewFilesDAO.inc.php.

Member Function Documentation

ReviewFilesDAO::check (   $reviewId,
  $fileId 
)

Check review file availability

Parameters
$reviewIdinteger
$fileIdint
Returns
boolean

Definition at line 75 of file ReviewFilesDAO.inc.php.

References DAO\retrieve().

ReviewFilesDAO::grant (   $reviewId,
  $fileId 
)

Grant a review file to a review.

Parameters
$reviewIdint Review assignment ID
$fileIdint Review file ID

Definition at line 30 of file ReviewFilesDAO.inc.php.

References DAO\update().

ReviewFilesDAO::ReviewFilesDAO ( )

Constructor

Definition at line 21 of file ReviewFilesDAO.inc.php.

ReviewFilesDAO::revoke (   $reviewId,
  $fileId 
)

Revoke a review's association with a review file.

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

Definition at line 48 of file ReviewFilesDAO.inc.php.

References DAO\update().

ReviewFilesDAO::revokeByReviewId (   $reviewId)

Revoke a review's association with all submission files.

Parameters
$reviewIdint Review assignment ID.

Definition at line 62 of file ReviewFilesDAO.inc.php.

References DAO\update().


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