Public Member Functions | |
| _paperFromRow (&$paper, &$row) | |
| & | _returnPaperFromRow (&$row) |
| changePaperStatus ($paperId, $status) | |
| deletePaper (&$paper) | |
| deletePaperById ($paperId) | |
| deletePapersBySchedConfId ($schedConfId) | |
| getAdditionalFieldNames () | |
| getInsertPaperId () | |
| getLocaleFieldNames () | |
| & | getPaper ($paperId) |
| & | getPapersBySchedConfId ($schedConfId, $trackId=null) |
| & | getPapersByUserId ($userId, $schedConfId=null) |
| getPaperSchedConfId ($paperId) | |
| incompleteSubmissionExists ($paperId, $userId, $schedConfId) | |
| insertPaper (&$paper) | |
| PaperDAO () | |
| removePapersFromTrack ($trackId) | |
| updateLocaleFields (&$paper) | |
| updatePaper (&$paper) | |
Public Attributes | |
| $authorDao | |
Definition at line 21 of file PaperDAO.inc.php.
| PaperDAO._paperFromRow | ( | &$ | paper, | |
| &$ | row | |||
| ) |
Internal function to fill in the passed paper object from the row.
| $paper | Paper output paper | |
| $row | array input row |
Definition at line 118 of file PaperDAO.inc.php.
References _returnPaperFromRow().
Referenced by _returnPaperFromRow().
| & PaperDAO._returnPaperFromRow | ( | &$ | row | ) |
Internal function to return an Paper object from a row.
| $row | array |
Definition at line 107 of file PaperDAO.inc.php.
References _paperFromRow().
Referenced by _paperFromRow(), getPaper(), getPapersBySchedConfId(), and getPapersByUserId().
| PaperDAO.changePaperStatus | ( | $ | paperId, | |
| $ | status | |||
| ) |
Change the status of the paper
| $paperId | int | |
| $status | int |
Definition at line 531 of file PaperDAO.inc.php.
| PaperDAO.deletePaper | ( | &$ | paper | ) |
Delete a paper.
| $paper | Paper |
Definition at line 314 of file PaperDAO.inc.php.
References deletePaperById().
| PaperDAO.deletePaperById | ( | $ | paperId | ) |
Delete a paper by ID.
| $paperId | int |
Definition at line 322 of file PaperDAO.inc.php.
Referenced by deletePaper(), and deletePapersBySchedConfId().
| PaperDAO.deletePapersBySchedConfId | ( | $ | schedConfId | ) |
Delete all papers by scheduled conference ID.
| $schedConfId | int |
Definition at line 429 of file PaperDAO.inc.php.
References deletePaperById(), and getPapersBySchedConfId().
| PaperDAO.getAdditionalFieldNames | ( | ) |
Get a list of non-localized additional fields to maintain.
Definition at line 36 of file PaperDAO.inc.php.
| PaperDAO.getInsertPaperId | ( | ) |
Get the ID of the last inserted paper.
Definition at line 551 of file PaperDAO.inc.php.
Referenced by insertPaper().
| PaperDAO.getLocaleFieldNames | ( | ) |
Get a list of field names for which data is localized.
Definition at line 44 of file PaperDAO.inc.php.
| & PaperDAO.getPaper | ( | $ | paperId | ) |
Retrieve a paper by ID.
| $paperId | int |
Definition at line 63 of file PaperDAO.inc.php.
References _returnPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
| & PaperDAO.getPapersBySchedConfId | ( | $ | schedConfId, | |
| $ | trackId = null | |||
| ) |
Get all papers for a scheduled conference.
| $userId | int | |
| $schedConfId | int |
Definition at line 387 of file PaperDAO.inc.php.
References _returnPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
Referenced by deletePapersBySchedConfId().
| & PaperDAO.getPapersByUserId | ( | $ | userId, | |
| $ | schedConfId = null | |||
| ) |
Get all papers for a user.
| $userId | int | |
| $schedConfId | int optional |
Definition at line 444 of file PaperDAO.inc.php.
References _returnPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
| PaperDAO.getPaperSchedConfId | ( | $ | paperId | ) |
Get the ID of the scheduled conference a paper is in.
| $paperId | int |
Definition at line 494 of file PaperDAO.inc.php.
| PaperDAO.incompleteSubmissionExists | ( | $ | paperId, | |
| $ | userId, | |||
| $ | schedConfId | |||
| ) |
Check if the specified incomplete submission exists.
| $paperId | int | |
| $userId | int | |
| $schedConfId | int |
Definition at line 513 of file PaperDAO.inc.php.
| PaperDAO.insertPaper | ( | &$ | paper | ) |
Insert a new Paper.
| $paper | Paper |
Definition at line 166 of file PaperDAO.inc.php.
References getInsertPaperId(), and updateLocaleFields().
| PaperDAO.PaperDAO | ( | ) |
Constructor.
Definition at line 27 of file PaperDAO.inc.php.
| PaperDAO.removePapersFromTrack | ( | $ | trackId | ) |
Removes papers from a track by track ID
| $trackId | int |
Definition at line 541 of file PaperDAO.inc.php.
| PaperDAO.updateLocaleFields | ( | &$ | paper | ) |
Update the settings for this object
| $paper | object |
Definition at line 52 of file PaperDAO.inc.php.
Referenced by insertPaper(), and updatePaper().
| PaperDAO.updatePaper | ( | &$ | paper | ) |
Update an existing paper.
| $paper | Paper |
Definition at line 236 of file PaperDAO.inc.php.
References updateLocaleFields().
1.4.7