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

Public Member Functions

 authorize ($request, &$args, $roleAssignments)
 
 deleteDate ($args, $request)
 
 editDate ($args, $request)
 
 getMonograph ()
 
 getPublicationFormat ()
 
 getRequestArgs ()
 
 getRowInstance ()
 
 loadData ($request, $filter=null)
 
 PublicationDateGridHandler ()
 
 setMonograph ($monograph)
 
 setPublicationFormat ($publicationFormat)
 
 updateDate ($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 publication format grid requests for publication dates.

Definition at line 27 of file PublicationDateGridHandler.inc.php.

Member Function Documentation

PublicationDateGridHandler::authorize (   $request,
$args,
  $roleAssignments 
)
PublicationDateGridHandler::deleteDate (   $args,
  $request 
)

Delete a date

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 314 of file PublicationDateGridHandler.inc.php.

References DAO\getDataChangedEvent().

PublicationDateGridHandler::editDate (   $args,
  $request 
)

Edit a date

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 239 of file PublicationDateGridHandler.inc.php.

Referenced by loadData().

PublicationDateGridHandler::getMonograph ( )

Get the monograph associated with this grid.

Returns
Monograph

Definition at line 59 of file PublicationDateGridHandler.inc.php.

Referenced by authorize().

PublicationDateGridHandler::getPublicationFormat ( )

Get the publication format assocated with these dates

Returns
PublicationFormat

Definition at line 75 of file PublicationDateGridHandler.inc.php.

PublicationDateGridHandler::getRequestArgs ( )

Get the arguments that will identify the data in the grid In this case, the monograph.

Returns
array

Definition at line 204 of file PublicationDateGridHandler.inc.php.

Referenced by authorize().

PublicationDateGridHandler::getRowInstance ( )
PublicationDateGridHandler::loadData (   $request,
  $filter = null 
)
See Also
GridHandler::loadData

Definition at line 217 of file PublicationDateGridHandler.inc.php.

References editDate().

PublicationDateGridHandler::PublicationDateGridHandler ( )

Constructor

Definition at line 43 of file PublicationDateGridHandler.inc.php.

PublicationDateGridHandler::setMonograph (   $monograph)

Set the Monograph

Parameters
Monograph

Definition at line 67 of file PublicationDateGridHandler.inc.php.

Referenced by authorize().

PublicationDateGridHandler::setPublicationFormat (   $publicationFormat)

Set the publication format

Parameters
PublicationFormat

Definition at line 83 of file PublicationDateGridHandler.inc.php.

References PKPHandler\addPolicy().

Referenced by authorize().

PublicationDateGridHandler::updateDate (   $args,
  $request 
)

Update a date

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 262 of file PublicationDateGridHandler.inc.php.


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