Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AdminLanguageGridHandler Class Reference

Inherits PKPAdminLanguageGridHandler.

Public Member Functions

 _canManage ($request)
 _updateContextLocaleSettings ($request)
 AdminLanguageGridHandler ()
 initialize ($request)
- Public Member Functions inherited from PKPAdminLanguageGridHandler
 _canManage ($request)
 _updateContextLocaleSettings ($request)
 _updateLocaleSupportState ($request, $rowId, $enable)
 authorize ($request, &$args, $roleAssignments)
 disableLocale ($args, $request)
 downloadLocale ($args, $request)
 enableLocale ($args, $request)
 getRowInstance ()
 initialize ($request)
 installLocale ($args, $request)
 loadData ($request, $filter)
 PKPAdminLanguageGridHandler ()
 reloadLocale ($args, $request)
 saveInstallLocale ($args, $request)
 setPrimaryLocale ($args, $request)
 uninstallLocale ($args, $request)
- Public Member Functions inherited from LanguageGridHandler
 addManagementColumns ()
 addManagementData ($request, $data)
 addNameColumn ()
 addPrimaryColumn ($columnId)
 getCellProvider ()
 initialize ($request)
 LanguageGridHandler ()
 saveLanguageSetting ($args, $request)
 setContextPrimaryLocale ($args, $request)
- Public Member Functions inherited from GridHandler
 addAction ($action, $position=GRID_ACTION_POSITION_ABOVE)
 addColumn ($column)
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 fetchCell (&$args, $request)
 fetchGrid ($args, $request)
 fetchRow (&$args, $request)
 getActions ($position=GRID_ACTION_POSITION_ABOVE)
 getColumn ($columnId)
getColumns ()
getColumnsByFlag ($flag)
 getColumnsCount ($flag)
 getDataElementSequence (&$gridDataElement)
 getDataProvider ()
 getEmptyRowText ()
 getFeatures ()
 getFootNote ()
getGridDataElements ($request)
 getGridRangeInfo ($request, $rangeName, $contextData=null)
 getInstructions ()
 getIsSubcomponent ()
 getItemIterator ()
 getJSHandler ()
 getPublishChangeEvents ()
 getRequestArg ($key)
 getRequestArgs ()
 getRequestedRow ($request, $args)
 getSelectName ()
 getTemplate ()
 getTitle ()
 getUrls ()
 GridHandler ($dataProvider=null)
 hasColumn ($columnId)
 hasGridDataElements ($request)
 initialize ($request, $args=null)
 isDataElementSelected ($gridDataElement)
 renderRow ($request, $row)
 saveSequence ($args, $request)
 setDataElementSequence ($request, $rowId, &$gridDataElement, $newSequence)
 setEmptyRowText ($emptyRowText)
 setFootNote ($footNote)
 setGridDataElements ($data)
 setInstructions ($instructions)
 setTemplate ($template)
 setTitle ($title)
 setUrls ($request, $extraUrls=array())
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 addPolicy ($authorizationPolicy, $addToTop=false)
 addRoleAssignment ($roleIds, $operations)
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
getAuthorizedContext ()
getAuthorizedContextObject ($assocType)
getDispatcher ()
 getFirstUserContext ($user, $contexts)
 getId ()
 getLastAuthorizationMessage ()
 getLoginExemptions ()
 getRoleAssignment ($roleId)
 getRoleAssignments ()
 getWorkingContexts ($request)
 index ($args, $request)
 initialize ($request, $args=null)
 PKPHandler ()
 setDispatcher ($dispatcher)
 setId ($id)
 setupTemplate ($request)
 validate ($requiredContexts=null, $request=null)

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
static getRangeInfo ($request, $rangeName, $contextData=null)
static hashPageContext ($request, $contextData=array())
- Public Attributes inherited from GridHandler
 $_actions = array(GRID_ACTION_POSITION_DEFAULT => array())
 $_columns = array()
 $_emptyRowText = 'grid.noItems'
 $_footNote = ''
 $_instructions = ''
 $_title = ''
- Public Attributes inherited from PKPHandler
 $_checks = array()
 $_roleAssignments = array()
- Protected Member Functions inherited from GridHandler
 callFeaturesHook ($hookName, $args)
 doSpecificFetchGridActions ($args, $request, $templateMgr)
getDataElementFromRequest ($request, &$elementId)
 getFilterForm ()
 getFilterSelectionData ($request)
 getRowDataElement ($request, $rowId)
 getRowInstance ()
 getRowsSequence ($request)
 initFeatures ($request, &$args)
 loadData ($request, $filter)
 noAutocompleteResults ()
 renderFilter ($request, $filterData=array())
 renderGridBodyPartsInternally ($request)
 renderRowInternally ($request, $row)
 renderRowsInternally ($request, &$elements)
 setFirstDataColumn ()

Detailed Description

Handle administrative language grid requests. If in single context (e.g. press) installation, this grid can also handle language management requests. See _canManage().

Definition at line 20 of file

Member Function Documentation

AdminLanguageGridHandler::_canManage (   $request)

This grid can also present management functions if the conditions above are true.


Definition at line 70 of file

References PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().

AdminLanguageGridHandler::_updateContextLocaleSettings (   $request)

Helper function to update locale settings in all installed presses, based on site locale settings.


Definition at line 42 of file

References DAORegistry\getDAO().

AdminLanguageGridHandler::AdminLanguageGridHandler ( )


Definition at line 24 of file

AdminLanguageGridHandler::initialize (   $request)
See Also

Definition at line 32 of file

References AppLocale\requireComponents().

The documentation for this class was generated from the following file: