Public Member Functions

MarketsGridHandler Class Reference

Handle publication format grid requests for markets. More...

List of all members.

Public Member Functions

 authorize (&$request, $args, $roleAssignments)
 deleteMarket ($args, &$request)
 editMarket ($args, &$request)
getMonograph ()
getPublicationFormat ()
 getRequestArgs ()
getRowInstance ()
loadData ($request, $filter=null)
 MarketsGridHandler ()
 setMonograph ($monograph)
 setPublicationFormat ($publicationFormat)
 updateMarket ($args, &$request)

Detailed Description

Handle publication format grid requests for markets.

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


Member Function Documentation

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

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

MarketsGridHandler.deleteMarket ( args,
&$  request 
)

Delete a market entry

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

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

References getMonograph().

MarketsGridHandler.editMarket ( args,
&$  request 
)

Edit a markets entry

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

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

References getMonograph().

& MarketsGridHandler.getMonograph (  ) 

Get the monograph associated with this grid.

Returns:
Monograph

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

Referenced by deleteMarket(), editMarket(), getRequestArgs(), getRowInstance(), and updateMarket().

& MarketsGridHandler.getPublicationFormat (  ) 

Get the publication format assocated with these markets

Returns:
PublicationFormat

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

Referenced by getRequestArgs(), and loadData().

MarketsGridHandler.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 MarketsGridHandler.inc.php.

References getMonograph(), and getPublicationFormat().

& MarketsGridHandler.getRowInstance (  ) 
See also:
GridHandler.getRowInstance()
Returns:
MarketsGridRow

Definition at line 194 of file MarketsGridHandler.inc.php.

References getMonograph().

Referenced by updateMarket().

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

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

References getPublicationFormat().

MarketsGridHandler.MarketsGridHandler (  ) 

Constructor

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

MarketsGridHandler.setMonograph ( monograph  ) 

Set the Monograph

Parameters:
Monograph 

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

MarketsGridHandler.setPublicationFormat ( publicationFormat  ) 

Set the publication format

Parameters:
PublicationFormat 

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

MarketsGridHandler.updateMarket ( args,
&$  request 
)

Update a markets entry

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

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

References getMonograph(), and getRowInstance().


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