Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
LanguageGridHandler Class Reference
Inheritance diagram for LanguageGridHandler:
GridHandler PKPHandler ManageLanguageGridHandler

Public Member Functions

 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()
 
 $_data
 
 $_emptyRowText = 'grid.noItems'
 
 $_features
 
 $_footNote = ''
 
 $_instructions = ''
 
 $_itemIterator
 
 $_template
 
 $_title = ''
 
 $_urls
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_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 language grid requests.

Definition at line 20 of file LanguageGridHandler.inc.php.

Member Function Documentation

LanguageGridHandler::addManagementColumns ( )

Add columns related to management settings.

Definition at line 174 of file LanguageGridHandler.inc.php.

References GridHandler\addColumn(), and getCellProvider().

Referenced by ManageLanguageGridHandler\initialize().

LanguageGridHandler::addManagementData (   $request,
  $data 
)

Add data related to management settings.

Parameters
$requestRequest
$dataArray Data already loaded.
Returns
Array Same passed array, but with the extra management data inserted.

Definition at line 214 of file LanguageGridHandler.inc.php.

Referenced by ManageLanguageGridHandler\loadData().

LanguageGridHandler::addNameColumn ( )

Add name column.

Definition at line 138 of file LanguageGridHandler.inc.php.

References GridHandler\addColumn(), and getCellProvider().

Referenced by ManageLanguageGridHandler\initialize().

LanguageGridHandler::addPrimaryColumn (   $columnId)

Add primary column.

Parameters
$columnIdstring The column id.

Definition at line 157 of file LanguageGridHandler.inc.php.

References GridHandler\addColumn(), and getCellProvider().

Referenced by ManageLanguageGridHandler\initialize().

LanguageGridHandler::getCellProvider ( )

Return an instance of the cell provider used by this grid.

Returns
GridCellProvider

Definition at line 131 of file LanguageGridHandler.inc.php.

Referenced by addManagementColumns(), addNameColumn(), and addPrimaryColumn().

LanguageGridHandler::initialize (   $request)

Subclasses can override this method to configure the handler.

NB: This method will be called after validation and authorization.

Parameters
$requestPKPRequest
$argsarray

Definition at line 39 of file LanguageGridHandler.inc.php.

References AppLocale\requireComponents(), and GridHandler\setTitle().

LanguageGridHandler::LanguageGridHandler ( )

Constructor

Definition at line 24 of file LanguageGridHandler.inc.php.

References PKPHandler\addRoleAssignment().

LanguageGridHandler::saveLanguageSetting (   $args,
  $request 
)

Save language management settings.

Parameters
$argsarray
$requestRequest

Definition at line 60 of file LanguageGridHandler.inc.php.

References DAO\getDataChangedEvent(), GridHandler\getGridDataElements(), and PKPLocale\isLocaleValid().

LanguageGridHandler::setContextPrimaryLocale (   $args,
  $request 
)

Set context primary locale.

Parameters
$argsarray
$requestRequest

Definition at line 95 of file LanguageGridHandler.inc.php.

References DAO\getDataChangedEvent(), GridHandler\getGridDataElements(), and PKPLocale\isLocaleValid().


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