AuthorSubmissionDAO Class Reference
[Submission]

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

List of all members.

Public Member Functions

_returnAuthorSubmissionFromRow (&$row)
 AuthorSubmissionDAO ()
getAuthorSubmission ($paperId)
getAuthorSubmissions ($authorId, $schedConfId, $active=true, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 getDirectorDecisions ($paperId, $stage=null)
getIncompleteSubmissions ()
 getSortMapping ($heading)
 getSubmissionsCount ($authorId, $schedConfId)
 updateAuthorSubmission (&$authorSubmission)

Public Attributes

 $authorDao
 $galleyDao
 $paperCommentDao
 $paperDao
 $paperFileDao
 $reviewAssignmentDao
 $suppFileDao
 $userDao


Detailed Description

Operations for retrieving and modifying AuthorSubmission objects.

See also:
AuthorSubmission

Definition at line 20 of file AuthorSubmissionDAO.inc.php.


Member Function Documentation

& AuthorSubmissionDAO._returnAuthorSubmissionFromRow ( &$  row  ) 

Internal function to return a AuthorSubmission object from a row.

Parameters:
$row array
Returns:
AuthorSubmission

Definition at line 96 of file AuthorSubmissionDAO.inc.php.

References getDirectorDecisions().

Referenced by getAuthorSubmission(), getAuthorSubmissions(), and getIncompleteSubmissions().

AuthorSubmissionDAO.AuthorSubmissionDAO (  ) 

Constructor.

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

& AuthorSubmissionDAO.getAuthorSubmission ( paperId  ) 

Retrieve a author submission by paper ID.

Parameters:
$paperId int
Returns:
AuthorSubmission

Definition at line 52 of file AuthorSubmissionDAO.inc.php.

References _returnAuthorSubmissionFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().

& AuthorSubmissionDAO.getAuthorSubmissions ( authorId,
schedConfId,
active = true,
rangeInfo = null,
sortBy = null,
sortDirection = SORT_DIRECTION_ASC 
)

Get all author submissions for an author.

Parameters:
$authorId int
Returns:
DAOResultFactory containing AuthorSubmissions

Definition at line 203 of file AuthorSubmissionDAO.inc.php.

References _returnAuthorSubmissionFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().

AuthorSubmissionDAO.getDirectorDecisions ( paperId,
stage = null 
)

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

Parameters:
$paperId int
$stage int

Definition at line 261 of file AuthorSubmissionDAO.inc.php.

Referenced by _returnAuthorSubmissionFromRow().

& AuthorSubmissionDAO.getIncompleteSubmissions (  ) 

Get all incomplete submissions.

Returns:
DAOResultFactory containing AuthorSubmissions

Definition at line 163 of file AuthorSubmissionDAO.inc.php.

References _returnAuthorSubmissionFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().

AuthorSubmissionDAO.getSortMapping ( heading  ) 

Map a column heading value to a database value for sorting

Parameters:
string 
Returns:
string

Definition at line 332 of file AuthorSubmissionDAO.inc.php.

AuthorSubmissionDAO.getSubmissionsCount ( authorId,
schedConfId 
)

Get count of active and complete assignments

Parameters:
authorId int
schedConfId int

Definition at line 298 of file AuthorSubmissionDAO.inc.php.

AuthorSubmissionDAO.updateAuthorSubmission ( &$  authorSubmission  ) 

Update an existing author submission.

Parameters:
$authorSubmission AuthorSubmission

Definition at line 140 of file AuthorSubmissionDAO.inc.php.


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7