Handle chapter grid requests. More...
Public Member Functions | |
| & | _getChapterFromRequest (&$request) |
| addChapter ($args, &$request) | |
| authorize (&$request, $args, $roleAssignments) | |
| ChapterGridHandler () | |
| deleteChapter ($args, &$request) | |
| editChapter ($args, &$request) | |
| getCategoryData (&$chapter) | |
| getCategoryDataElementSequence ($chapter) | |
| getCategoryRowIdParameterName () | |
| & | getCategoryRowInstance () |
| & | getMonograph () |
| getReadOnly () | |
| getRequestArgs () | |
| getRowDataElementSequence ($author) | |
| initFeatures ($request, $args) | |
| initialize (&$request) | |
| & | loadData (&$request, $filter) |
| saveCategoryDataElementSequence ($chapter, $newSequence) | |
| saveRowDataElementSequence ($author, $chapterId, $newSequence) | |
| setReadOnly ($readOnly) | |
| updateChapter ($args, &$request) | |
Handle chapter grid requests.
Definition at line 26 of file ChapterGridHandler.inc.php.
| & ChapterGridHandler._getChapterFromRequest | ( | &$ | request | ) |
Fetch and validate the chapter from the request arguments
Definition at line 362 of file ChapterGridHandler.inc.php.
References getMonograph().
Referenced by deleteChapter(), editChapter(), and updateChapter().
| ChapterGridHandler.addChapter | ( | $ | args, | |
| &$ | request | |||
| ) |
Add a chapter.
| $args | array | |
| $request | Request |
Definition at line 274 of file ChapterGridHandler.inc.php.
References editChapter().
| ChapterGridHandler.authorize | ( | &$ | request, | |
| $ | args, | |||
| $ | roleAssignments | |||
| ) |
| $request | PKPRequest | |
| $args | array | |
| $roleAssignments | array |
Definition at line 84 of file ChapterGridHandler.inc.php.
| ChapterGridHandler.ChapterGridHandler | ( | ) |
Constructor
Definition at line 33 of file ChapterGridHandler.inc.php.
| ChapterGridHandler.deleteChapter | ( | $ | args, | |
| &$ | request | |||
| ) |
Delete a chapter
| $args | array | |
| $request | PKPRequest |
Definition at line 335 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest().
| ChapterGridHandler.editChapter | ( | $ | args, | |
| &$ | request | |||
| ) |
Edit a chapter
| $args | array | |
| $request | PKPRequest |
Definition at line 286 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest(), and getMonograph().
Referenced by addChapter().
| ChapterGridHandler.getCategoryData | ( | &$ | chapter | ) |
Definition at line 243 of file ChapterGridHandler.inc.php.
| ChapterGridHandler.getCategoryDataElementSequence | ( | $ | chapter | ) |
Definition at line 252 of file ChapterGridHandler.inc.php.
| ChapterGridHandler.getCategoryRowIdParameterName | ( | ) |
Definition at line 184 of file ChapterGridHandler.inc.php.
| & ChapterGridHandler.getCategoryRowInstance | ( | ) |
Definition at line 232 of file ChapterGridHandler.inc.php.
References getMonograph(), and getReadOnly().
| & ChapterGridHandler.getMonograph | ( | ) |
Get the monograph associated with this chapter grid.
Definition at line 54 of file ChapterGridHandler.inc.php.
Referenced by _getChapterFromRequest(), editChapter(), getCategoryRowInstance(), getRequestArgs(), initFeatures(), loadData(), saveRowDataElementSequence(), and updateChapter().
| ChapterGridHandler.getReadOnly | ( | ) |
Get whether or not this grid should be 'read only'
Definition at line 62 of file ChapterGridHandler.inc.php.
Referenced by getCategoryRowInstance(), and initialize().
| ChapterGridHandler.getRequestArgs | ( | ) |
Definition at line 173 of file ChapterGridHandler.inc.php.
References getMonograph().
Referenced by initialize().
| ChapterGridHandler.getRowDataElementSequence | ( | $ | author | ) |
Definition at line 206 of file ChapterGridHandler.inc.php.
| ChapterGridHandler.initFeatures | ( | $ | request, | |
| $ | args | |||
| ) |
Definition at line 157 of file ChapterGridHandler.inc.php.
References getMonograph(), and setReadOnly().
| ChapterGridHandler.initialize | ( | &$ | request | ) |
Configure the grid
| $request | PKPRequest |
Definition at line 94 of file ChapterGridHandler.inc.php.
References getReadOnly(), and getRequestArgs().
| & ChapterGridHandler.loadData | ( | &$ | request, | |
| $ | filter | |||
| ) |
Definition at line 192 of file ChapterGridHandler.inc.php.
References getMonograph().
| ChapterGridHandler.saveCategoryDataElementSequence | ( | $ | chapter, | |
| $ | newSequence | |||
| ) |
Definition at line 259 of file ChapterGridHandler.inc.php.
| ChapterGridHandler.saveRowDataElementSequence | ( | $ | author, | |
| $ | chapterId, | |||
| $ | newSequence | |||
| ) |
Definition at line 213 of file ChapterGridHandler.inc.php.
References getMonograph().
| ChapterGridHandler.setReadOnly | ( | $ | readOnly | ) |
Set the boolean for 'read only' status
| boolean |
Definition at line 70 of file ChapterGridHandler.inc.php.
Referenced by initFeatures().
| ChapterGridHandler.updateChapter | ( | $ | args, | |
| &$ | request | |||
| ) |
Update a chapter
| $args | array | |
| $request | PKPRequest |
Definition at line 304 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest(), and getMonograph().
1.7.1