Public Member Functions

PressGridHandler Class Reference

Handle press grid requests. More...

List of all members.

Public Member Functions

 _getRedirectEvent (&$request, $newPressPath, $openWizard)
 authorize (&$request, $args, $roleAssignments)
 createPress ($args, &$request)
 deletePress ($args, &$request)
 editPress ($args, &$request)
 getPublishChangeEvents ()
 getRowDataElementSequence (&$press)
getRowInstance ()
 initFeatures ($request, $args)
 initialize (&$request)
 loadData (&$request)
 PressGridHandler ()
 saveRowDataElementSequence (&$request, $rowId, &$press, $newSequence)
 updatePress ($args, &$request)

Detailed Description

Handle press grid requests.

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


Member Function Documentation

PressGridHandler._getRedirectEvent ( &$  request,
newPressPath,
openWizard 
)

Return a redirect event.

Parameters:
$request Request
$newPressPath string
$openWizard boolean

Definition at line 326 of file PressGridHandler.inc.php.

Referenced by updatePress().

PressGridHandler.authorize ( &$  request,
args,
roleAssignments 
)
See also:
PKPHandler.authorize()

Definition at line 40 of file PressGridHandler.inc.php.

PressGridHandler.createPress ( args,
&$  request 
)

Add a new press.

Parameters:
$args array
$request PKPRequest

Definition at line 184 of file PressGridHandler.inc.php.

References editPress().

PressGridHandler.deletePress ( args,
&$  request 
)

Delete a press.

Parameters:
$args array
$request PKPRequest
Returns:
string Serialized JSON object

Definition at line 271 of file PressGridHandler.inc.php.

PressGridHandler.editPress ( args,
&$  request 
)

Edit an existing press.

Parameters:
$args array
$request PKPRequest
Returns:
string Serialized JSON object

Definition at line 195 of file PressGridHandler.inc.php.

Referenced by createPress().

PressGridHandler.getPublishChangeEvents (  ) 

Get the list of "publish data changed" events. Used to update the site press switcher upon create/delete.

Returns:
array

Definition at line 171 of file PressGridHandler.inc.php.

PressGridHandler.getRowDataElementSequence ( &$  press  ) 
See also:
lib/pkp/classes/controllers/grid/GridHandlergetRowDataElementSequence()

Definition at line 145 of file PressGridHandler.inc.php.

& PressGridHandler.getRowInstance (  ) 
See also:
GridHandler.getRowInstance()
Returns:
UserGridRow

Definition at line 124 of file PressGridHandler.inc.php.

PressGridHandler.initFeatures ( request,
args 
)
See also:
GridHandler.addFeatures()

Definition at line 161 of file PressGridHandler.inc.php.

PressGridHandler.initialize ( &$  request  ) 
See also:
PKPHandler.initialize()

Definition at line 56 of file PressGridHandler.inc.php.

PressGridHandler.loadData ( &$  request  ) 
See also:
GridHandler.loadData()
Parameters:
$request PKPRequest
Returns:
array Grid data.

Definition at line 134 of file PressGridHandler.inc.php.

PressGridHandler.PressGridHandler (  ) 

Constructor

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

PressGridHandler.saveRowDataElementSequence ( &$  request,
rowId,
&$  press,
newSequence 
)
See also:
lib/pkp/classes/controllers/grid/GridHandlersaveRowDataElementSequence()

Definition at line 152 of file PressGridHandler.inc.php.

PressGridHandler.updatePress ( args,
&$  request 
)

Update an existing press.

Parameters:
$args array
$request PKPRequest
Returns:
string Serialized JSON object

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

References _getRedirectEvent().


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