Public Member Functions | |
| & | _returnPublishedPaperFromRow ($row) |
| deletePublishedPaperById ($pubId) | |
| deletePublishedPaperByPaperId ($paperId) | |
| deletePublishedPapersBySchedConfId ($schedConfId) | |
| deletePublishedPapersByTrackId ($trackId) | |
| getInsertPublishedPaperId () | |
| getPaperYearRange ($conferenceId=null) | |
| getPublishedPaperAuthors ($schedConfId) | |
| & | getPublishedPaperByBestPaperId ($schedConfId, $paperId, $previewAbstracts=null) |
| & | getPublishedPaperById ($pubId) |
| & | getPublishedPaperByPaperId ($paperId, $schedConfId=null, $previewAbstracts=null) |
| & | getPublishedPaperByPublicPaperId ($schedConfId, $publicPaperId) |
| getPublishedPaperCountBySchedConfId ($schedConfId) | |
| & | getPublishedPaperIdsAlphabetizedBySchedConf ($conferenceId=null, $schedConfId=null, $rangeInfo=null) |
| & | getPublishedPaperIdsAlphabetizedByTitle ($conferenceId=null, $schedConfId=null, $rangeInfo=null) |
| & | getPublishedPapers ($schedConfId, $sortOrder=PAPER_SORT_ORDER_NATURAL) |
| & | getPublishedPapersBySchedConfId ($schedConfId, $rangeInfo=null) |
| & | getPublishedPapersByTrackId ($trackId, $schedConfId) |
| & | getPublishedPapersInTracks ($schedConfId, $trackId=null, $searchField=null, $searchMatch=null, $search=null, $previewAbstracts=false) |
| incrementViewsByPaperId ($paperId) | |
| insertPublishedPaper (&$publishedPaper) | |
| publicPaperIdExists ($publicPaperId, $paperId, $schedConfId) | |
| PublishedPaperDAO () | |
| resequencePublishedPapers ($trackId, $schedConfId) | |
| updatePublishedPaper ($publishedPaper) | |
| updatePublishedPaperField ($pubId, $field, $value) | |
Public Attributes | |
| $authorDao | |
| $galleyDao | |
| $paperDao | |
| $suppFileDao | |
Definition at line 23 of file PublishedPaperDAO.inc.php.
| & PublishedPaperDAO._returnPublishedPaperFromRow | ( | $ | row | ) |
creates and returns a published paper object from a row
| $row | array |
Definition at line 545 of file PublishedPaperDAO.inc.php.
Referenced by getPublishedPaperByPaperId(), getPublishedPaperByPublicPaperId(), getPublishedPapers(), getPublishedPapersBySchedConfId(), getPublishedPapersByTrackId(), and getPublishedPapersInTracks().
| PublishedPaperDAO.deletePublishedPaperById | ( | $ | pubId | ) |
removes an published Paper by id
| pubId | int |
Definition at line 605 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.deletePublishedPaperByPaperId | ( | $ | paperId | ) |
Delete published paper by paper ID NOTE: This does not delete the related Paper or any dependent entities
| $paperId | int |
Definition at line 616 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.deletePublishedPapersBySchedConfId | ( | $ | schedConfId | ) |
Delete published papers by scheduled conference ID
| $schedConfId | int |
Definition at line 646 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.deletePublishedPapersByTrackId | ( | $ | trackId | ) |
Delete published papers by track ID
| $trackId | int |
Definition at line 626 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.getInsertPublishedPaperId | ( | ) |
Get the ID of the last inserted published paper.
Definition at line 597 of file PublishedPaperDAO.inc.php.
Referenced by insertPublishedPaper().
| PublishedPaperDAO.getPaperYearRange | ( | $ | conferenceId = null |
) |
Return years of oldest/youngest published paper within the site or a specific scheduled conference
| $conferenceId | int |
Definition at line 784 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.getPublishedPaperAuthors | ( | $ | schedConfId | ) |
Retrieve all authors from published papers
| $schedConfId | int |
Definition at line 719 of file PublishedPaperDAO.inc.php.
| & PublishedPaperDAO.getPublishedPaperByBestPaperId | ( | $ | schedConfId, | |
| $ | paperId, | |||
| $ | previewAbstracts = null | |||
| ) |
Retrieve published paper by public paper id or, failing that, internal paper ID; public paper ID takes precedence.
| $schedConfId | int | |
| $paperId | string | |
| $previewAbstracts | boolean Whether to include unpublished abstracts that have been reviewed |
Definition at line 446 of file PublishedPaperDAO.inc.php.
References getPublishedPaperByPaperId(), and getPublishedPaperByPublicPaperId().
| & PublishedPaperDAO.getPublishedPaperById | ( | $ | pubId | ) |
Retrieve Published Paper by pub id
| $pubId | int |
Definition at line 311 of file PublishedPaperDAO.inc.php.
| & PublishedPaperDAO.getPublishedPaperByPaperId | ( | $ | paperId, | |
| $ | schedConfId = null, |
|||
| $ | previewAbstracts = null | |||
| ) |
Retrieve published paper by paper id
| $paperId | int | |
| $schedConfId | int optional | |
| $previewAbstracts | whether or not to allow access to unpublished papers |
Definition at line 341 of file PublishedPaperDAO.inc.php.
References _returnPublishedPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
Referenced by getPublishedPaperByBestPaperId().
| & PublishedPaperDAO.getPublishedPaperByPublicPaperId | ( | $ | schedConfId, | |
| $ | publicPaperId | |||
| ) |
Retrieve published paper by public paper id
| $schedConfId | int | |
| $publicPaperId | string |
Definition at line 394 of file PublishedPaperDAO.inc.php.
References _returnPublishedPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
Referenced by getPublishedPaperByBestPaperId().
| PublishedPaperDAO.getPublishedPaperCountBySchedConfId | ( | $ | schedConfId | ) |
Retrieve a count of published papers in a scheduled conference.
Definition at line 98 of file PublishedPaperDAO.inc.php.
| & PublishedPaperDAO.getPublishedPaperIdsAlphabetizedBySchedConf | ( | $ | conferenceId = null, |
|
| $ | schedConfId = null, |
|||
| $ | rangeInfo = null | |||
| ) |
Retrieve "paper_id"s for published papers for a scheduled conference, sorted by scheduled conference. Note that if schedConfId is null, alphabetized paper IDs for all scheduled conferences are returned.
| $schedConfId | int |
Definition at line 508 of file PublishedPaperDAO.inc.php.
| & PublishedPaperDAO.getPublishedPaperIdsAlphabetizedByTitle | ( | $ | conferenceId = null, |
|
| $ | schedConfId = null, |
|||
| $ | rangeInfo = null | |||
| ) |
Retrieve "paper_id"s for published papers for a scheduled conference, sorted alphabetically. Note that if schedConfId is null, alphabetized paper IDs for all scheduled conferences are returned.
| $schedConfId | int |
Definition at line 460 of file PublishedPaperDAO.inc.php.
References AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
| & PublishedPaperDAO.getPublishedPapers | ( | $ | schedConfId, | |
| $ | sortOrder = PAPER_SORT_ORDER_NATURAL | |||
| ) |
Retrieve Published Papers by scheduled conference id. Limit provides number of records to retrieve
| $schedConfId | int | |
| $sortOrder | int PAPER_SORT_ORDER_... |
Definition at line 46 of file PublishedPaperDAO.inc.php.
References _returnPublishedPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
| & PublishedPaperDAO.getPublishedPapersBySchedConfId | ( | $ | schedConfId, | |
| $ | rangeInfo = null | |||
| ) |
Retrieve all published papers in a scheduled conference.
| $schedConfId | int | |
| $rangeInfo | object |
Definition at line 113 of file PublishedPaperDAO.inc.php.
References _returnPublishedPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
| & PublishedPaperDAO.getPublishedPapersByTrackId | ( | $ | trackId, | |
| $ | schedConfId | |||
| ) |
Retrieve Published Papers by track id
| $trackId | int |
Definition at line 256 of file PublishedPaperDAO.inc.php.
References _returnPublishedPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
| & PublishedPaperDAO.getPublishedPapersInTracks | ( | $ | schedConfId, | |
| $ | trackId = null, |
|||
| $ | searchField = null, |
|||
| $ | searchMatch = null, |
|||
| $ | search = null, |
|||
| $ | previewAbstracts = false | |||
| ) |
Retrieve Published Papers by scheduled conference id
| $schedConfId | int | |
| $trackId | int ID of track to view, or null for all | |
| $searchField | int SUBMISSION_FIELD_... | |
| $searchMatch | string 'is' or 'contains' | |
| $search | string Search value | |
| $previewAbstracts | boolean Whether to include unpublished abstracts that have been reviewed |
Definition at line 160 of file PublishedPaperDAO.inc.php.
References _returnPublishedPaperFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
| PublishedPaperDAO.incrementViewsByPaperId | ( | $ | paperId | ) |
Increment the views count for a galley.
| $paperId | int |
Definition at line 752 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.insertPublishedPaper | ( | &$ | publishedPaper | ) |
inserts a new published paper into published_papers table
| PublishedPaper | object |
Definition at line 573 of file PublishedPaperDAO.inc.php.
References getInsertPublishedPaperId().
| PublishedPaperDAO.publicPaperIdExists | ( | $ | publicPaperId, | |
| $ | paperId, | |||
| $ | schedConfId | |||
| ) |
Checks if public identifier exists
| $publicPaperId | string | |
| $paperId | int | |
| $schedConfId | int |
Definition at line 766 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.PublishedPaperDAO | ( | ) |
Constructor.
Definition at line 32 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.resequencePublishedPapers | ( | $ | trackId, | |
| $ | schedConfId | |||
| ) |
Sequentially renumber published papers in their sequence order.
Definition at line 694 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.updatePublishedPaper | ( | $ | publishedPaper | ) |
updates a published paper
| PublishedPaper | object |
Definition at line 656 of file PublishedPaperDAO.inc.php.
| PublishedPaperDAO.updatePublishedPaperField | ( | $ | pubId, | |
| $ | field, | |||
| $ | value | |||
| ) |
updates a published paper field
| $pubId | int | |
| $field | string | |
| $value | mixed |
Definition at line 685 of file PublishedPaperDAO.inc.php.
1.4.7