Operations for retrieving and modifying MonographComment objects. More...
Public Member Functions | |
| & | _returnMonographCommentFromRow ($row) |
| deleteById ($commentId) | |
| deleteByMonographId ($monographId) | |
| deleteObject ($monographComment) | |
| & | getById ($commentId) |
| & | getByUserId ($userId) |
| getInsertMonographCommentId () | |
| & | getMonographComments ($monographId, $commentType=null, $assocId=null) |
| getMostRecentMonographComment ($monographId, $commentType=null, $assocId=null) | |
| & | getReviewerCommentsByReviewerId ($reviewerId, $monographId, $reviewId=null) |
| insertMonographComment (&$monographComment) | |
| MonographCommentDAO () | |
| updateObject ($monographComment) | |
Operations for retrieving and modifying MonographComment objects.
Definition at line 18 of file MonographCommentDAO.inc.php.
| & MonographCommentDAO._returnMonographCommentFromRow | ( | $ | row | ) |
Creates and returns a monograph comment object from a row
| $row | array |
Definition at line 153 of file MonographCommentDAO.inc.php.
Referenced by getById(), and getMostRecentMonographComment().
| MonographCommentDAO.deleteById | ( | $ | commentId | ) |
removes a monograph note by id
| noteId | int |
Definition at line 220 of file MonographCommentDAO.inc.php.
Referenced by deleteObject().
| MonographCommentDAO.deleteByMonographId | ( | $ | monographId | ) |
Delete all comments for a monograph.
| $monographId | int |
Definition at line 230 of file MonographCommentDAO.inc.php.
| MonographCommentDAO.deleteObject | ( | $ | monographComment | ) |
removes a monograph comment from monograph_comments table
| MonographComment | object |
Definition at line 212 of file MonographCommentDAO.inc.php.
References deleteById().
| & MonographCommentDAO.getById | ( | $ | commentId | ) |
Retrieve Monograph Comment by comment id
| $commentId | int |
Definition at line 135 of file MonographCommentDAO.inc.php.
References _returnMonographCommentFromRow().
| & MonographCommentDAO.getByUserId | ( | $ | userId | ) |
Retrieve MonographComments by user id
| $userId | int |
Definition at line 60 of file MonographCommentDAO.inc.php.
| MonographCommentDAO.getInsertMonographCommentId | ( | ) |
Get the ID of the last inserted monograph comment.
Definition at line 204 of file MonographCommentDAO.inc.php.
Referenced by insertMonographComment().
| & MonographCommentDAO.getMonographComments | ( | $ | monographId, | |
| $ | commentType = null, |
|||
| $ | assocId = null | |||
| ) |
Retrieve MonographComments by monograph id
| $monographId | int | |
| $commentType | int |
Definition at line 32 of file MonographCommentDAO.inc.php.
| MonographCommentDAO.getMostRecentMonographComment | ( | $ | monographId, | |
| $ | commentType = null, |
|||
| $ | assocId = null | |||
| ) |
Retrieve most recent MonographComment
| $monographId | int | |
| $commentType | int |
Definition at line 96 of file MonographCommentDAO.inc.php.
References _returnMonographCommentFromRow().
| & MonographCommentDAO.getReviewerCommentsByReviewerId | ( | $ | reviewerId, | |
| $ | monographId, | |||
| $ | reviewId = null | |||
| ) |
Retrieve MonographComments made my reviewers on a monograph
| $reviewerId | int The user id of the reviewer. | |
| $monographId | int The monograph Id that was reviewered/commented on. | |
| $reviewId | int (optional) The review assignment Id the comment pertains to. |
Definition at line 76 of file MonographCommentDAO.inc.php.
| MonographCommentDAO.insertMonographComment | ( | &$ | monographComment | ) |
inserts a new monograph comment into monograph_comments table
| MonographNote | object |
Definition at line 177 of file MonographCommentDAO.inc.php.
References getInsertMonographCommentId().
| MonographCommentDAO.MonographCommentDAO | ( | ) |
Constructor
Definition at line 22 of file MonographCommentDAO.inc.php.
| MonographCommentDAO.updateObject | ( | $ | monographComment | ) |
updates a monograph comment
| MonographComment | object |
Definition at line 240 of file MonographCommentDAO.inc.php.
1.7.1