Public Member Functions

SalesRightsGridHandler Class Reference

Handle publication format grid requests for sales rights. More...

List of all members.

Public Member Functions

 authorize (&$request, $args, $roleAssignments)
 deleteRights ($args, &$request)
 editRights ($args, &$request)
getMonograph ()
getPublicationFormat ()
 getRequestArgs ()
getRowInstance ()
loadData ($request, $filter=null)
 SalesRightsGridHandler ()
 setMonograph ($monograph)
 setPublicationFormat ($publicationFormat)
 updateRights ($args, &$request)

Detailed Description

Handle publication format grid requests for sales rights.

Definition at line 26 of file SalesRightsGridHandler.inc.php.


Member Function Documentation

SalesRightsGridHandler.authorize ( &$  request,
args,
roleAssignments 
)
See also:
PKPHandler.authorize()
Parameters:
$request PKPRequest
$args array
$roleAssignments array

Definition at line 89 of file SalesRightsGridHandler.inc.php.

SalesRightsGridHandler.deleteRights ( args,
&$  request 
)

Delete a sales rights entry

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

Definition at line 306 of file SalesRightsGridHandler.inc.php.

References getMonograph().

SalesRightsGridHandler.editRights ( args,
&$  request 
)

Edit a sales rights entry

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

Definition at line 231 of file SalesRightsGridHandler.inc.php.

References getMonograph().

& SalesRightsGridHandler.getMonograph (  ) 

Get the monograph associated with this grid.

Returns:
Monograph

Definition at line 52 of file SalesRightsGridHandler.inc.php.

Referenced by deleteRights(), editRights(), getRequestArgs(), getRowInstance(), and updateRights().

& SalesRightsGridHandler.getPublicationFormat (  ) 

Get the publication format assocated with these sales rights

Returns:
PublicationFormat

Definition at line 68 of file SalesRightsGridHandler.inc.php.

Referenced by getRequestArgs(), and loadData().

SalesRightsGridHandler.getRequestArgs (  ) 

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

Returns:
array

Definition at line 196 of file SalesRightsGridHandler.inc.php.

References getMonograph(), and getPublicationFormat().

& SalesRightsGridHandler.getRowInstance (  ) 
See also:
GridHandler.getRowInstance()
Returns:
SalesRightsGridRow

Definition at line 186 of file SalesRightsGridHandler.inc.php.

References getMonograph().

Referenced by updateRights().

& SalesRightsGridHandler.loadData ( request,
filter = null 
)
See also:
GridHandler.loadData

Definition at line 209 of file SalesRightsGridHandler.inc.php.

References getPublicationFormat().

SalesRightsGridHandler.SalesRightsGridHandler (  ) 

Constructor

Definition at line 36 of file SalesRightsGridHandler.inc.php.

SalesRightsGridHandler.setMonograph ( monograph  ) 

Set the Monograph

Parameters:
Monograph 

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

SalesRightsGridHandler.setPublicationFormat ( publicationFormat  ) 

Set the publication format

Parameters:
PublicationFormat 

Definition at line 76 of file SalesRightsGridHandler.inc.php.

SalesRightsGridHandler.updateRights ( args,
&$  request 
)

Update a sales rights entry

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

Definition at line 254 of file SalesRightsGridHandler.inc.php.

References getMonograph(), and getRowInstance().


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