Public Member Functions

PublicationFormatGridHandler Class Reference

Handle publication format grid requests. More...

List of all members.

Public Member Functions

 authorize (&$request, $args, $roleAssignments)
 deleteFormat ($args, &$request)
 editFormat ($args, &$request)
 getInCatalogEntryModal ()
getMonograph ()
 getRequestArgs ()
getRowInstance ()
loadData ($request, $filter=null)
 PublicationFormatGridHandler ()
 setAvailable ($args, &$request)
 setMonograph ($monograph)
 updateFormat ($args, &$request)

Detailed Description

Handle publication format grid requests.

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


Member Function Documentation

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

Definition at line 87 of file PublicationFormatGridHandler.inc.php.

PublicationFormatGridHandler.deleteFormat ( args,
&$  request 
)

Delete a format

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

Definition at line 302 of file PublicationFormatGridHandler.inc.php.

References getMonograph(), and MonographLog.logEvent().

PublicationFormatGridHandler.editFormat ( args,
&$  request 
)

Edit a format

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

Definition at line 227 of file PublicationFormatGridHandler.inc.php.

References getMonograph().

PublicationFormatGridHandler.getInCatalogEntryModal (  ) 

Get flag indicating if this grid is loaded inside a catalog entry modal or not.

Returns:
boolean

Definition at line 73 of file PublicationFormatGridHandler.inc.php.

Referenced by getRequestArgs().

& PublicationFormatGridHandler.getMonograph (  ) 

Get the monograph associated with this publication format grid.

Returns:
Monograph

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

Referenced by deleteFormat(), editFormat(), getRequestArgs(), getRowInstance(), loadData(), setAvailable(), and updateFormat().

PublicationFormatGridHandler.getRequestArgs (  ) 

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

Returns:
array

Definition at line 193 of file PublicationFormatGridHandler.inc.php.

References getInCatalogEntryModal(), and getMonograph().

& PublicationFormatGridHandler.getRowInstance (  ) 
See also:
GridHandler.getRowInstance()
Returns:
PublicationFormatGridRow

Definition at line 182 of file PublicationFormatGridHandler.inc.php.

References getMonograph().

Referenced by updateFormat().

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

Definition at line 205 of file PublicationFormatGridHandler.inc.php.

References getMonograph().

PublicationFormatGridHandler.PublicationFormatGridHandler (  ) 

Constructor

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

PublicationFormatGridHandler.setAvailable ( args,
&$  request 
)

Set a format's "available" state

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

Definition at line 345 of file PublicationFormatGridHandler.inc.php.

References getMonograph(), and MonographLog.logEvent().

PublicationFormatGridHandler.setMonograph ( monograph  ) 

Set the Monograph

Parameters:
Monograph 

Definition at line 64 of file PublicationFormatGridHandler.inc.php.

PublicationFormatGridHandler.updateFormat ( args,
&$  request 
)

Update a format

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

Definition at line 250 of file PublicationFormatGridHandler.inc.php.

References getMonograph(), and getRowInstance().


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