ocs  2.3.6
About: OCS (Open Conference System) is a Web publishing tool that will create a complete Web presence for your scholarly conference.
  Fossies Dox: ocs-2.3.6.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

TrackDirectorSubmissionDAO Class Reference

Operations for retrieving and modifying TrackDirectorSubmission objects. More...

Inheritance diagram for TrackDirectorSubmissionDAO:
[legend]
Collaboration diagram for TrackDirectorSubmissionDAO:
[legend]

Public Member Functions

 TrackDirectorSubmissionDAO ()
 
getTrackDirectorSubmission ($paperId)
 
_returnTrackDirectorSubmissionFromRow (&$row)
 
 updateTrackDirectorSubmission (&$trackDirectorSubmission)
 
 createReviewStage ($paperId, $stage, $reviewRevision)
 
_getUnfilteredTrackDirectorSubmissions ($trackDirectorId, $schedConfId, $trackId=0, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $additionalWhereSql='', $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 
getTrackDirectorSubmissionsInReview ($trackDirectorId, $schedConfId, $trackId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 
getTrackDirectorSubmissionsAccepted ($trackDirectorId, $schedConfId, $trackId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 
getTrackDirectorSubmissionsArchives ($trackDirectorId, $schedConfId, $trackId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 
getTrackDirectorSubmissionsCount ($trackDirectorId, $schedConfId)
 
 deleteDecisionsByPaper ($paperId)
 
 deleteReviewStagesByPaper ($paperId)
 
 getDirectorDecisions ($paperId, $stage)
 
 getMaxReviewStage ($paperId)
 
 reviewStageExists ($paperId, $stage)
 
 reviewerExists ($paperId, $reviewerId, $stage)
 
getReviewersForPaper ($schedConfId, $paperId, $stage, $searchType=null, $search=null, $searchMatch=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 
_returnReviewerUserFromRow (&$row)
 
getReviewersNotAssignedToPaper ($schedConfId, $paperId)
 
 getReviewerStatistics ($schedConfId)
 
 getSortMapping ($heading)
 
- Public Member Functions inherited from DAO
 DAO ($dataSource=null, $callHooks=true)
 
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)
 
 update ($sql, $params=false, $callHooks=true, $dieOnError=true)
 
 replace ($table, $arrFields, $keyCols)
 
 getInsertId ($table='', $id='', $callHooks=true)
 
 setCacheDir ()
 
 flushCache ()
 
 datetimeToDB ($dt)
 
 dateToDB ($d)
 
 datetimeFromDB ($dt)
 
 dateFromDB ($d)
 
 convertFromDB ($value, $type)
 
 getType ($value)
 
 convertToDB ($value, &$type)
 
 nullOrInt ($value)
 
 getAdditionalFieldNames ()
 
 getLocaleFieldNames ()
 
 updateDataObjectSettings ($tableName, &$dataObject, $idArray)
 
 getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, &$dataObject)
 
 getDriver ()
 
 getDirectionMapping ($direction)
 

Public Attributes

 $paperDao
 
 $authorDao
 
 $userDao
 
 $editAssignmentDao
 
 $reviewAssignmentDao
 
 $paperFileDao
 
 $suppFileDao
 
 $galleyDao
 
 $paperEmailLogDao
 
 $paperCommentDao
 
- Public Attributes inherited from DAO
 $_dataSource
 

Detailed Description

Operations for retrieving and modifying TrackDirectorSubmission objects.

See also
TrackDirectorSubmission

Definition at line 27 of file TrackDirectorSubmissionDAO.inc.php.

Member Function Documentation

◆ _getUnfilteredTrackDirectorSubmissions()

& TrackDirectorSubmissionDAO::_getUnfilteredTrackDirectorSubmissions (   $trackDirectorId,
  $schedConfId,
  $trackId = 0,
  $searchField = null,
  $searchMatch = null,
  $search = null,
  $dateField = null,
  $dateFrom = null,
  $dateTo = null,
  $additionalWhereSql = '',
  $rangeInfo = null,
  $sortBy = null,
  $sortDirection = SORT_DIRECTION_ASC 
)

◆ _returnReviewerUserFromRow()

& TrackDirectorSubmissionDAO::_returnReviewerUserFromRow ( $row)

Definition at line 745 of file TrackDirectorSubmissionDAO.inc.php.

References HookRegistry\call().

◆ _returnTrackDirectorSubmissionFromRow()

& TrackDirectorSubmissionDAO::_returnTrackDirectorSubmissionFromRow ( $row)

Internal function to return a TrackDirectorSubmission object from a row.

Parameters
$rowarray
Returns
TrackDirectorSubmission

Definition at line 107 of file TrackDirectorSubmissionDAO.inc.php.

References HookRegistry\call(), COMMENT_TYPE_DIRECTOR_DECISION, and getDirectorDecisions().

Referenced by getTrackDirectorSubmission().

◆ createReviewStage()

TrackDirectorSubmissionDAO::createReviewStage (   $paperId,
  $stage,
  $reviewRevision 
)

Definition at line 259 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\update().

Referenced by updateTrackDirectorSubmission().

◆ deleteDecisionsByPaper()

TrackDirectorSubmissionDAO::deleteDecisionsByPaper (   $paperId)

Delete editorial decisions by paper.

Parameters
$paperIdint

Definition at line 527 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\update().

◆ deleteReviewStagesByPaper()

TrackDirectorSubmissionDAO::deleteReviewStagesByPaper (   $paperId)

Delete review stages by paper.

Parameters
$paperIdint

Definition at line 538 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\update().

◆ getDirectorDecisions()

TrackDirectorSubmissionDAO::getDirectorDecisions (   $paperId,
  $stage 
)

Get the director decisions for a review stage of a paper.

Parameters
$paperIdint
$stageint

Definition at line 550 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\retrieve().

Referenced by _returnTrackDirectorSubmissionFromRow().

◆ getMaxReviewStage()

TrackDirectorSubmissionDAO::getMaxReviewStage (   $paperId)

Get the highest review stage.

Parameters
$paperIdint
Returns
int

Definition at line 584 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\retrieve().

◆ getReviewersForPaper()

& TrackDirectorSubmissionDAO::getReviewersForPaper (   $schedConfId,
  $paperId,
  $stage,
  $searchType = null,
  $search = null,
  $searchMatch = null,
  $rangeInfo = null,
  $sortBy = null,
  $sortDirection = SORT_DIRECTION_ASC 
)

Retrieve a list of all reviewers with respect to a submission's current round.

Parameters
$schedConfIdint
$paperIdint
Returns
DAOResultFactory containing matching Users

Definition at line 644 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\getDirectionMapping(), getSortMapping(), DAO\retrieveRange(), ROLE_ID_REVIEWER, USER_FIELD_EMAIL, USER_FIELD_FIRSTNAME, USER_FIELD_INITIAL, USER_FIELD_INTERESTS, USER_FIELD_LASTNAME, USER_FIELD_USERID, and USER_FIELD_USERNAME.

◆ getReviewersNotAssignedToPaper()

& TrackDirectorSubmissionDAO::getReviewersNotAssignedToPaper (   $schedConfId,
  $paperId 
)

Retrieve a list of all reviewers not assigned to the specified paper.

Parameters
$schedConfIdint
$paperIdint
Returns
array matching Users

Definition at line 760 of file TrackDirectorSubmissionDAO.inc.php.

References RoleDAO\getRoleIdFromPath(), and DAO\retrieve().

◆ getReviewerStatistics()

TrackDirectorSubmissionDAO::getReviewerStatistics (   $schedConfId)

Get the last assigned and last completed dates for all reviewers of the given conference.

Returns
array

Definition at line 783 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\datetimeFromDB(), and DAO\retrieve().

◆ getSortMapping()

TrackDirectorSubmissionDAO::getSortMapping (   $heading)

Map a column heading value to a database value for sorting

Parameters
string
Returns
string

Definition at line 842 of file TrackDirectorSubmissionDAO.inc.php.

Referenced by _getUnfilteredTrackDirectorSubmissions(), and getReviewersForPaper().

◆ getTrackDirectorSubmission()

& TrackDirectorSubmissionDAO::getTrackDirectorSubmission (   $paperId)

Retrieve a track director submission by paper ID.

Parameters
$paperIdint
Returns
DirectorSubmission

Definition at line 61 of file TrackDirectorSubmissionDAO.inc.php.

References _returnTrackDirectorSubmissionFromRow(), AppLocale\getLocale(), AppLocale\getPrimaryLocale(), and DAO\retrieve().

◆ getTrackDirectorSubmissionsAccepted()

& TrackDirectorSubmissionDAO::getTrackDirectorSubmissionsAccepted (   $trackDirectorId,
  $schedConfId,
  $trackId,
  $searchField = null,
  $searchMatch = null,
  $search = null,
  $dateField = null,
  $dateFrom = null,
  $dateTo = null,
  $rangeInfo = null,
  $sortBy = null,
  $sortDirection = SORT_DIRECTION_ASC 
)

Get all submissions accepted to a conference.

Parameters
$trackDirectorIdint
$schedConfIdint
$trackIdint
$searchFieldint Symbolic SUBMISSION_FIELD_... identifier
$searchMatchstring "is" or "contains" or "startsWith"
$searchString to look in $searchField for
$dateFieldint Symbolic SUBMISSION_FIELD_DATE_... identifier
$dateFromString date to search from
$dateToString date to search to
$rangeInfoobject
Returns
array DirectorSubmission

Definition at line 437 of file TrackDirectorSubmissionDAO.inc.php.

References _getUnfilteredTrackDirectorSubmissions(), and STATUS_PUBLISHED.

◆ getTrackDirectorSubmissionsArchives()

& TrackDirectorSubmissionDAO::getTrackDirectorSubmissionsArchives (   $trackDirectorId,
  $schedConfId,
  $trackId,
  $searchField = null,
  $searchMatch = null,
  $search = null,
  $dateField = null,
  $dateFrom = null,
  $dateTo = null,
  $rangeInfo = null,
  $sortBy = null,
  $sortDirection = SORT_DIRECTION_ASC 
)

Get all submissions in archives for a conference.

Parameters
$trackDirectorIdint
$schedConfIdint
$trackIdint
$searchFieldint Symbolic SUBMISSION_FIELD_... identifier
$searchMatchstring "is" or "contains" or "startsWith"
$searchString to look in $searchField for
$dateFieldint Symbolic SUBMISSION_FIELD_DATE_... identifier
$dateFromString date to search from
$dateToString date to search to
$rangeInfoobject
Returns
array DirectorSubmission

Definition at line 464 of file TrackDirectorSubmissionDAO.inc.php.

References _getUnfilteredTrackDirectorSubmissions(), STATUS_PUBLISHED, and STATUS_QUEUED.

◆ getTrackDirectorSubmissionsCount()

& TrackDirectorSubmissionDAO::getTrackDirectorSubmissionsCount (   $trackDirectorId,
  $schedConfId 
)

Function used for counting purposes for right nav bar

Definition at line 480 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\retrieve(), STATUS_QUEUED, and SUBMISSION_DIRECTOR_DECISION_ACCEPT.

◆ getTrackDirectorSubmissionsInReview()

& TrackDirectorSubmissionDAO::getTrackDirectorSubmissionsInReview (   $trackDirectorId,
  $schedConfId,
  $trackId,
  $searchField = null,
  $searchMatch = null,
  $search = null,
  $dateField = null,
  $dateFrom = null,
  $dateTo = null,
  $rangeInfo = null,
  $sortBy = null,
  $sortDirection = SORT_DIRECTION_ASC 
)

Get all submissions in review for a conference.

Parameters
$trackDirectorIdint
$schedConfIdint
$trackIdint
$searchFieldint Symbolic SUBMISSION_FIELD_... identifier
$searchMatchstring "is" or "contains" or "startsWith"
$searchString to look in $searchField for
$dateFieldint Symbolic SUBMISSION_FIELD_DATE_... identifier
$dateFromString date to search from
$dateToString date to search to
$rangeInfoobject
Returns
array DirectorSubmission

Definition at line 409 of file TrackDirectorSubmissionDAO.inc.php.

References _getUnfilteredTrackDirectorSubmissions(), and STATUS_QUEUED.

◆ reviewerExists()

TrackDirectorSubmissionDAO::reviewerExists (   $paperId,
  $reviewerId,
  $stage 
)

Check if a reviewer is assigned to a specified paper.

Parameters
$paperIdint
$reviewerIdint
Returns
boolean

Definition at line 620 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\retrieve().

◆ reviewStageExists()

TrackDirectorSubmissionDAO::reviewStageExists (   $paperId,
  $stage 
)

Check if a review stage exists for a specified paper.

Parameters
$paperIdint
$stageint
Returns
boolean

Definition at line 602 of file TrackDirectorSubmissionDAO.inc.php.

References DAO\retrieve().

Referenced by updateTrackDirectorSubmission().

◆ TrackDirectorSubmissionDAO()

TrackDirectorSubmissionDAO::TrackDirectorSubmissionDAO ( )

Constructor.

Definition at line 42 of file TrackDirectorSubmissionDAO.inc.php.

References DAORegistry\getDAO().

◆ updateTrackDirectorSubmission()

TrackDirectorSubmissionDAO::updateTrackDirectorSubmission ( $trackDirectorSubmission)

Update an existing track director submission.

Parameters
$trackDirectorSubmissionTrackDirectorSubmission

Definition at line 156 of file TrackDirectorSubmissionDAO.inc.php.

References createReviewStage(), DAO\datetimeToDB(), DAO\getInsertId(), REVIEW_STAGE_ABSTRACT, REVIEW_STAGE_PRESENTATION, reviewStageExists(), and DAO\update().

Member Data Documentation

◆ $authorDao

TrackDirectorSubmissionDAO::$authorDao

Definition at line 29 of file TrackDirectorSubmissionDAO.inc.php.

◆ $editAssignmentDao

TrackDirectorSubmissionDAO::$editAssignmentDao

Definition at line 31 of file TrackDirectorSubmissionDAO.inc.php.

◆ $galleyDao

TrackDirectorSubmissionDAO::$galleyDao

Definition at line 35 of file TrackDirectorSubmissionDAO.inc.php.

◆ $paperCommentDao

TrackDirectorSubmissionDAO::$paperCommentDao

Definition at line 37 of file TrackDirectorSubmissionDAO.inc.php.

◆ $paperDao

TrackDirectorSubmissionDAO::$paperDao

Definition at line 28 of file TrackDirectorSubmissionDAO.inc.php.

◆ $paperEmailLogDao

TrackDirectorSubmissionDAO::$paperEmailLogDao

Definition at line 36 of file TrackDirectorSubmissionDAO.inc.php.

◆ $paperFileDao

TrackDirectorSubmissionDAO::$paperFileDao

Definition at line 33 of file TrackDirectorSubmissionDAO.inc.php.

◆ $reviewAssignmentDao

TrackDirectorSubmissionDAO::$reviewAssignmentDao

Definition at line 32 of file TrackDirectorSubmissionDAO.inc.php.

◆ $suppFileDao

TrackDirectorSubmissionDAO::$suppFileDao

Definition at line 34 of file TrackDirectorSubmissionDAO.inc.php.

◆ $userDao

TrackDirectorSubmissionDAO::$userDao

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


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