|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct () | |
| _getChapterFromRequest ($request) | |
| addChapter ($args, $request) | |
| authorize ($request, &$args, $roleAssignments) | |
| canAdminister ($user) | |
| clearPubId ($args, $request) | |
| deleteChapter ($args, $request) | |
| editChapter ($args, $request) | |
| editChapterTab ($args, $request) | |
| getCategoryRowIdParameterName () | |
| getCategoryRowInstance () | |
| getDataElementInCategorySequence ($categoryId, &$author) | |
| getDataElementSequence ($gridDataElement) | |
| getMonograph () | |
| getPublication () | |
| getReadOnly () | |
| getRequestArgs () | |
| identifiers ($args, $request) | |
| initFeatures ($request, $args) | |
| initialize ($request, $args=null) | |
| loadCategoryData ($request, &$chapter, $filter=null) | |
| loadData ($request, $filter) | |
| setDataElementInCategorySequence ($chapterId, &$author, $newSequence) | |
| setDataElementSequence ($request, $chapterId, $chapter, $newSequence) | |
| setReadOnly ($readOnly) | |
| updateChapter ($args, $request) | |
| updateIdentifiers ($args, $request) | |
Public Member Functions inherited from CategoryGridHandler | |
| __construct ($dataProvider=null) | |
| fetchCategory ($args, $request) | |
| getCategoryItemsCount ($categoryElement, $request) | |
| getCurrentCategoryId () | |
| getEmptyCategoryRowText () | |
| & | getGridCategoryDataElements ($request, $categoryElement) |
| getJSHandler () | |
| hasGridDataElementsInCategory ($categoryElement, $request) | |
| isDataElementInCategorySelected ($categoryId, &$gridDataElement) | |
| setEmptyCategoryRowText ($translationKey) | |
| setGridCategoryDataElements ($request, $categoryElementId, $data) | |
| setUrls ($request, $extraUrls=array()) | |
Public Member Functions inherited from GridHandler | |
| addAction ($action, $position=GRID_ACTION_POSITION_ABOVE) | |
| addColumn ($column) | |
| fetchCell (&$args, $request) | |
| fetchGrid ($args, $request) | |
| fetchRow ($args, $request) | |
| fetchRows ($args, $request) | |
| getActions ($position=GRID_ACTION_POSITION_ABOVE) | |
| getColumn ($columnId) | |
| & | getColumns () |
| & | getColumnsByFlag ($flag) |
| getColumnsCount ($flag=null) | |
| getDataProvider () | |
| getEmptyRowText () | |
| getFeatures () | |
| getFootNote () | |
| & | getGridDataElements ($request) |
| getGridRangeInfo ($request, $rangeName, $contextData=null) | |
| getIsSubcomponent () | |
| getItemIterator () | |
| getPublishChangeEvents () | |
| getRequestArg ($key) | |
| getRequestedRow ($request, $args) | |
| getSelectName () | |
| getTemplate () | |
| getTitle () | |
| getUrls () | |
| hasColumn ($columnId) | |
| hasGridDataElements ($request) | |
| isDataElementSelected ($gridDataElement) | |
| renderRow ($request, $row) | |
| saveSequence ($args, $request) | |
| setEmptyRowText ($emptyRowText) | |
| setFootNote ($footNote) | |
| setGridDataElements ($data) | |
| setTemplate ($template) | |
| setTitle ($title) | |
Public Member Functions inherited from PKPHandler | |
| addPolicy ($authorizationPolicy, $addToTop=false) | |
| addRoleAssignment ($roleIds, $operations) | |
| getApiToken () | |
| & | getAuthorizedContext () |
| & | getAuthorizedContextObject ($assocType) |
| & | getDispatcher () |
| getFirstUserContext ($user, $contexts) | |
| getId () | |
| getLastAuthorizationMessage () | |
| getRoleAssignment ($roleId) | |
| getRoleAssignments () | |
| getSiteRedirectContext ($request) | |
| getTargetContext ($request, &$contextsCount=null) | |
| index ($args, $request) | |
| initialize ($request) | |
| markRoleAssignmentsChecked () | |
| requireSSL () | |
| setApiToken ($apiToken) | |
| setDispatcher ($dispatcher) | |
| setEnforceRestrictedSite ($enforceRestrictedSite) | |
| setId ($id) | |
| setupTemplate ($request) | |
| validate ($requiredContexts=null, $request=null) | |
Data Fields | |
| $_readOnly | |
Data Fields inherited from CategoryGridHandler | |
| $_categoryData | |
| $_currentCategoryId = null | |
| $_emptyCategoryRowText = 'grid.noItems' | |
Data Fields inherited from GridHandler | |
| $_actions = array(GRID_ACTION_POSITION_DEFAULT => array()) | |
| $_columns = array() | |
| $_constants = [] | |
| $_data | |
| $_dataProvider | |
| $_emptyRowText = 'grid.noItems' | |
| $_features | |
| $_footNote = '' | |
| $_itemIterator | |
| $_template | |
| $_title = '' | |
| $_urls | |
Data Fields inherited from PKPHandler | |
| $_authorizationDecisionManager | |
| $_checks = array() | |
| $_dispatcher | |
| $_enforceRestrictedSite = true | |
| $_id | |
| $_isBackendPage = false | |
| $_roleAssignments = array() | |
| $_roleAssignmentsChecked = false | |
Additional Inherited Members | |
Static Public Member Functions inherited from PKPHandler | |
| static | getPageParamName ($rangeName) |
| static | getRangeInfo ($request, $rangeName, $contextData=null) |
| static | hashPageContext ($request, $contextData=array()) |
Protected Member Functions inherited from CategoryGridHandler | |
| doSpecificFetchGridActions ($args, $request, $templateMgr) | |
| getRequestedCategoryRow ($request, $args) | |
| getRowDataElement ($request, &$rowId) | |
| getRowsSequence ($request) | |
| renderRowInternally ($request, $row) | |
| setFirstDataColumn () | |
Protected Member Functions inherited from GridHandler | |
| callFeaturesHook ($hookName, $args) | |
| & | getDataElementFromRequest ($request, &$elementId) |
| getFilterForm () | |
| getFilterSelectionData ($request) | |
| getRowInstance () | |
| isFilterFormCollapsible () | |
| noAutocompleteResults () | |
| renderFilter ($request, $filterData=array()) | |
| renderGridBodyPartsInternally ($request) | |
| renderRowsInternally ($request, &$elements) | |
Protected Attributes inherited from PKPHandler | |
| $_apiToken = null | |
Handle chapter grid requests.
Definition at line 27 of file ChapterGridHandler.inc.php.
| ChapterGridHandler::__construct | ( | ) |
Constructor
Reimplemented from PKPHandler.
Definition at line 37 of file ChapterGridHandler.inc.php.
References PKPHandler\addRoleAssignment().
| ChapterGridHandler::_getChapterFromRequest | ( | $request | ) |
Fetch and validate the chapter from the request arguments
Definition at line 494 of file ChapterGridHandler.inc.php.
References DAORegistry\getDAO().
Referenced by clearPubId(), deleteChapter(), editChapter(), editChapterTab(), identifiers(), updateChapter(), and updateIdentifiers().
| ChapterGridHandler::addChapter | ( | $args, | |
| $request | |||
| ) |
Add a chapter.
| $args | array |
| $request | Request |
Definition at line 379 of file ChapterGridHandler.inc.php.
References canAdminister(), and editChapterTab().
| ChapterGridHandler::authorize | ( | $request, | |
| & | $args, | ||
| $roleAssignments | |||
| ) |
| $request | PKPRequest |
| $args | array |
| $roleAssignments | array |
Reimplemented from GridHandler.
Definition at line 100 of file ChapterGridHandler.inc.php.
References PKPHandler\addPolicy().
| ChapterGridHandler::canAdminister | ( | $user | ) |
Determines if there should be add/edit actions on this grid.
| $user | User |
Definition at line 204 of file ChapterGridHandler.inc.php.
References PKPServices\get(), PKPHandler\getAuthorizedContextObject(), getMonograph(), and getPublication().
Referenced by addChapter(), clearPubId(), deleteChapter(), editChapter(), editChapterTab(), initFeatures(), setDataElementInCategorySequence(), setDataElementSequence(), updateChapter(), and updateIdentifiers().
| ChapterGridHandler::clearPubId | ( | $args, | |
| $request | |||
| ) |
Clear chapter pub id
| $args | array |
| $request | PKPRequest |
Definition at line 362 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest(), and canAdminister().
| ChapterGridHandler::deleteChapter | ( | $args, | |
| $request | |||
| ) |
Delete a chapter
| $args | array |
| $request | PKPRequest |
Definition at line 472 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest(), canAdminister(), DAORegistry\getDAO(), and DAO\getDataChangedEvent().
| ChapterGridHandler::editChapter | ( | $args, | |
| $request | |||
| ) |
Edit a chapter metadata modal
| $args | array |
| $request | PKPRequest |
Definition at line 392 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest(), canAdminister(), PKPHandler\getAuthorizedContextObject(), PKPHandler\getId(), PKPTemplateManager\getManager(), getMonograph(), PluginRegistry\getPlugins(), and getPublication().
| ChapterGridHandler::editChapterTab | ( | $args, | |
| $request | |||
| ) |
Edit a chapter
| $args | array |
| $request | PKPRequest |
Definition at line 426 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest(), canAdminister(), getMonograph(), and getPublication().
Referenced by addChapter().
| ChapterGridHandler::getCategoryRowIdParameterName | ( | ) |
Reimplemented from CategoryGridHandler.
Definition at line 232 of file ChapterGridHandler.inc.php.
| ChapterGridHandler::getCategoryRowInstance | ( | ) |
Reimplemented from CategoryGridHandler.
Definition at line 275 of file ChapterGridHandler.inc.php.
References getMonograph(), getPublication(), and getReadOnly().
| ChapterGridHandler::getDataElementInCategorySequence | ( | $categoryId, | |
| & | $author | ||
| ) |
Reimplemented from CategoryGridHandler.
Definition at line 294 of file ChapterGridHandler.inc.php.
| ChapterGridHandler::getDataElementSequence | ( | $gridDataElement | ) |
Reimplemented from GridHandler.
Definition at line 253 of file ChapterGridHandler.inc.php.
| ChapterGridHandler::getMonograph | ( | ) |
Get the monograph associated with this chapter grid.
Definition at line 62 of file ChapterGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
Referenced by canAdminister(), editChapter(), editChapterTab(), getCategoryRowInstance(), getRequestArgs(), setDataElementInCategorySequence(), and updateChapter().
| ChapterGridHandler::getPublication | ( | ) |
Get the publication associated with this chapter grid.
Definition at line 70 of file ChapterGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
Referenced by canAdminister(), editChapter(), editChapterTab(), getCategoryRowInstance(), getRequestArgs(), initialize(), loadData(), and updateChapter().
| ChapterGridHandler::getReadOnly | ( | ) |
Get whether or not this grid should be 'read only'
Definition at line 78 of file ChapterGridHandler.inc.php.
References $_readOnly.
Referenced by getCategoryRowInstance(), and initialize().
| ChapterGridHandler::getRequestArgs | ( | ) |
Reimplemented from CategoryGridHandler.
Definition at line 189 of file ChapterGridHandler.inc.php.
References PKPHandler\getId(), getMonograph(), and getPublication().
Referenced by initialize().
| ChapterGridHandler::identifiers | ( | $args, | |
| $request | |||
| ) |
Edit chapter pub ids
| $args | array |
| $request | PKPRequest |
Definition at line 325 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest().
| ChapterGridHandler::initFeatures | ( | $request, | |
| $args | |||
| ) |
Reimplemented from GridHandler.
Definition at line 175 of file ChapterGridHandler.inc.php.
References canAdminister(), and setReadOnly().
| ChapterGridHandler::initialize | ( | $request, | |
$args = null |
|||
| ) |
| $request | PKPRequest |
| $args | array optional |
Reimplemented from CategoryGridHandler.
Definition at line 109 of file ChapterGridHandler.inc.php.
References GridHandler\addAction(), GridHandler\addColumn(), getPublication(), getReadOnly(), getRequestArgs(), AppLocale\requireComponents(), setReadOnly(), and GridHandler\setTitle().
| ChapterGridHandler::loadCategoryData | ( | $request, | |
| & | $chapter, | ||
$filter = null |
|||
| ) |
Reimplemented from CategoryGridHandler.
Definition at line 286 of file ChapterGridHandler.inc.php.
| ChapterGridHandler::loadData | ( | $request, | |
| $filter | |||
| ) |
Reimplemented from GridHandler.
Definition at line 240 of file ChapterGridHandler.inc.php.
References DAORegistry\getDAO(), PKPHandler\getId(), and getPublication().
| ChapterGridHandler::setDataElementInCategorySequence | ( | $chapterId, | |
| & | $author, | ||
| $newSequence | |||
| ) |
Reimplemented from CategoryGridHandler.
Definition at line 301 of file ChapterGridHandler.inc.php.
References canAdminister(), PKPApplication\get(), DAORegistry\getDAO(), and getMonograph().
| ChapterGridHandler::setDataElementSequence | ( | $request, | |
| $chapterId, | |||
| $chapter, | |||
| $newSequence | |||
| ) |
Reimplemented from GridHandler.
Definition at line 260 of file ChapterGridHandler.inc.php.
References canAdminister(), and DAORegistry\getDAO().
| ChapterGridHandler::setReadOnly | ( | $readOnly | ) |
Set the boolean for 'read only' status
| $readOnly | boolean |
Definition at line 86 of file ChapterGridHandler.inc.php.
Referenced by initFeatures(), and initialize().
| ChapterGridHandler::updateChapter | ( | $args, | |
| $request | |||
| ) |
Update a chapter
| $args | array |
| $request | PKPRequest |
Definition at line 444 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest(), canAdminister(), DAO\getDataChangedEvent(), getMonograph(), and getPublication().
| ChapterGridHandler::updateIdentifiers | ( | $args, | |
| $request | |||
| ) |
Update chapter pub ids
| $args | array |
| $request | PKPRequest |
Definition at line 340 of file ChapterGridHandler.inc.php.
References _getChapterFromRequest(), canAdminister(), and DAO\getDataChangedEvent().
| boolean ChapterGridHandler::$_readOnly |
Definition at line 32 of file ChapterGridHandler.inc.php.
Referenced by getReadOnly().