Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PluginGridHandler Class Reference
Inheritance diagram for PluginGridHandler:
CategoryGridHandler GridHandler PKPHandler AdminPluginGridHandler SettingsPluginGridHandler

Public Member Functions

 _showUploadPluginForm ($function, $request)
 
 deletePlugin ($args, $request)
 
 getCategoryData ($categoryDataElement, $filter)
 
 getCategoryRowIdParameterName ()
 
 getCategoryRowInstance ()
 
 getFilterForm ()
 
 getFilterSelectionData ($request)
 
 initialize ($request)
 
 installPlugin ($args, $request)
 
 loadData ($request, $filter)
 
 plugin ($args, $request)
 
 PluginGridHandler ($roles)
 
 renderFilter ($request)
 
 saveUploadPlugin ($args, $request)
 
 upgradePlugin ($args, $request)
 
 uploadPlugin ($args, $request)
 
- Public Member Functions inherited from CategoryGridHandler
 CategoryGridHandler ($dataProvider=null)
 
 fetchCategory (&$args, $request)
 
 getCurrentCategoryId ()
 
 getDataElementInCategorySequence ($categoryId, &$gridDataElement)
 
 getEmptyCategoryRowText ()
 
 getJSHandler ()
 
 getRequestArgs ()
 
 hasGridDataElementsInCategory ($categoryDataElement, $request)
 
 isDataElementInCategorySelected ($categoryId, &$gridDataElement)
 
 setDataElementInCategorySequence ($categoryId, &$gridDataElement, $newSequence)
 
 setEmptyCategoryRowText ($translationKey)
 
 setUrls ($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 CategoryGridHandler
 $_currentCategoryId = null
 
 $_emptyCategoryRowText = 'grid.noItems'
 
- 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 CategoryGridHandler
 doSpecificFetchGridActions ($args, $request, &$templateMgr)
 
getCategoryData (&$categoryDataElement, $filter=null)
 
 getCategoryRowIdParameterName ()
 
 getCategoryRowInstance ()
 
 getRequestedCategoryRow ($request, $args)
 
 getRowDataElement ($request, $rowId)
 
 getRowsSequence ($request)
 
 renderRowInternally ($request, $row)
 
 setFirstDataColumn ()
 
- 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 plugins grid requests.

Definition at line 18 of file PluginGridHandler.inc.php.

Member Function Documentation

PluginGridHandler::_showUploadPluginForm (   $function,
  $request 
)

Fetch upload plugin form.

Parameters
$functionstring
Returns
string

Definition at line 363 of file PluginGridHandler.inc.php.

References JSONMessage\getString(), and PKPHandler\setupTemplate().

Referenced by installPlugin(), and upgradePlugin().

PluginGridHandler::deletePlugin (   $args,
  $request 
)
PluginGridHandler::getCategoryData (   $categoryDataElement,
  $filter 
)
PluginGridHandler::getCategoryRowIdParameterName ( )
PluginGridHandler::getCategoryRowInstance ( )
PluginGridHandler::getFilterForm ( )
See Also
GridHandler::getFilterForm()

Definition at line 110 of file PluginGridHandler.inc.php.

PluginGridHandler::getFilterSelectionData (   $request)
PluginGridHandler::installPlugin (   $args,
  $request 
)

Show upload plugin form to install a new plugin.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 256 of file PluginGridHandler.inc.php.

References _showUploadPluginForm().

PluginGridHandler::loadData (   $request,
  $filter 
)
See Also
GridHandler::loadData()

Definition at line 208 of file PluginGridHandler.inc.php.

References PluginRegistry\getCategories().

Referenced by renderFilter().

PluginGridHandler::plugin (   $args,
  $request 
)

Perform plugin-specific management functions.

Parameters
$argsarray
$requestobject

Definition at line 226 of file PluginGridHandler.inc.php.

References PKPHandler\getAuthorizedContextObject(), getCategoryRowIdParameterName(), DAO\getDataChangedEvent(), and PKPHandler\setupTemplate().

PluginGridHandler::PluginGridHandler (   $roles)

Constructor

Parameters
$rolesarray

Definition at line 23 of file PluginGridHandler.inc.php.

References PKPHandler\addRoleAssignment().

PluginGridHandler::renderFilter (   $request)
See Also
GridHandler::renderFilter()

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

References loadData().

PluginGridHandler::saveUploadPlugin (   $args,
  $request 
)

Save upload plugin file form.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 299 of file PluginGridHandler.inc.php.

References DAO\getDataChangedEvent().

PluginGridHandler::upgradePlugin (   $args,
  $request 
)

Show upload plugin form to update an existing plugin.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 266 of file PluginGridHandler.inc.php.

References _showUploadPluginForm().

PluginGridHandler::uploadPlugin (   $args,
  $request 
)

Upload a plugin file.

Parameters
$argsarray
$requestPKPRequest

Definition at line 275 of file PluginGridHandler.inc.php.


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