EditAssignmentDAO Class Reference
[Submission]

Class for DAO relating directors to papers. More...

List of all members.

Public Member Functions

_returnEditAssignmentFromRow (&$row)
 deleteEditAssignmentById ($editId)
 deleteEditAssignmentsByPaper ($paperId)
getDirectorAssignmentsByPaperId ($paperId)
 getDirectorStatistics ($schedConfId)
getEditAssignment ($editId)
getEditAssignmentsByPaperId ($paperId)
getEditAssignmentsByUserId ($userId)
 getInsertEditId ()
getTrackDirectorAssignmentsByPaperId ($paperId)
 insertEditAssignment (&$editAssignment)
 updateEditAssignment (&$editAssignment)


Detailed Description

Class for DAO relating directors to papers.

See also:
EditAssignment

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


Member Function Documentation

& EditAssignmentDAO._returnEditAssignmentFromRow ( &$  row  ) 

Internal function to return an edit assignment object from a row.

Parameters:
$row array
Returns:
EditAssignment

Definition at line 134 of file EditAssignmentDAO.inc.php.

Referenced by getDirectorAssignmentsByPaperId(), getEditAssignment(), getEditAssignmentsByPaperId(), getEditAssignmentsByUserId(), and getTrackDirectorAssignmentsByPaperId().

EditAssignmentDAO.deleteEditAssignmentById ( editId  ) 

Delete edit assignment.

Parameters:
$reviewId int

Definition at line 201 of file EditAssignmentDAO.inc.php.

EditAssignmentDAO.deleteEditAssignmentsByPaper ( paperId  ) 

Delete edit assignments by paper.

Parameters:
$paperId int

Definition at line 212 of file EditAssignmentDAO.inc.php.

& EditAssignmentDAO.getDirectorAssignmentsByPaperId ( paperId  ) 

Retrieve those edit assignments that relate to full directors.

Parameters:
$paperId int
Returns:
EditAssignment

Definition at line 78 of file EditAssignmentDAO.inc.php.

References _returnEditAssignmentFromRow().

EditAssignmentDAO.getDirectorStatistics ( schedConfId  ) 

Get the assignment counts and last assigned date for all directors in the given conference.

Returns:
array

Definition at line 231 of file EditAssignmentDAO.inc.php.

& EditAssignmentDAO.getEditAssignment ( editId  ) 

Retrieve an edit assignment by id.

Parameters:
$editId int
Returns:
EditAssignment

Definition at line 26 of file EditAssignmentDAO.inc.php.

References _returnEditAssignmentFromRow().

& EditAssignmentDAO.getEditAssignmentsByPaperId ( paperId  ) 

Retrieve edit assignments by paper id.

Parameters:
$paperId int
Returns:
EditAssignment

Definition at line 58 of file EditAssignmentDAO.inc.php.

References _returnEditAssignmentFromRow().

& EditAssignmentDAO.getEditAssignmentsByUserId ( userId  ) 

Retrieve edit assignments by user id.

Parameters:
$paperId int
Returns:
EditAssignment

Definition at line 114 of file EditAssignmentDAO.inc.php.

References _returnEditAssignmentFromRow().

EditAssignmentDAO.getInsertEditId (  ) 

Get the ID of the last inserted edit assignment.

Returns:
int

Definition at line 223 of file EditAssignmentDAO.inc.php.

Referenced by insertEditAssignment().

& EditAssignmentDAO.getTrackDirectorAssignmentsByPaperId ( paperId  ) 

Retrieve those edit assignments that relate to track directors with review access.

Parameters:
$paperId int
Returns:
EditAssignment

Definition at line 94 of file EditAssignmentDAO.inc.php.

References _returnEditAssignmentFromRow().

EditAssignmentDAO.insertEditAssignment ( &$  editAssignment  ) 

Insert a new EditAssignment.

Parameters:
$editAssignment EditAssignment

Definition at line 157 of file EditAssignmentDAO.inc.php.

References getInsertEditId().

EditAssignmentDAO.updateEditAssignment ( &$  editAssignment  ) 

Update an existing edit assignment.

Parameters:
$editAssignment EditAssignment

Definition at line 179 of file EditAssignmentDAO.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