Public Member Functions

PublicationDateGridHandler Class Reference

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

List of all members.

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)

Detailed Description

Handle publication format grid requests for publication dates.

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


Member Function Documentation

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

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

PublicationDateGridHandler.deleteDate ( args,
&$  request 
)

Delete a date

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

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

References getMonograph().

PublicationDateGridHandler.editDate ( args,
&$  request 
)

Edit a date

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

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

References getMonograph().

& PublicationDateGridHandler.getMonograph (  ) 

Get the monograph associated with this grid.

Returns:
Monograph

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

Referenced by deleteDate(), editDate(), getRequestArgs(), getRowInstance(), and updateDate().

& PublicationDateGridHandler.getPublicationFormat (  ) 

Get the publication format assocated with these dates

Returns:
PublicationFormat

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

Referenced by getRequestArgs(), and loadData().

PublicationDateGridHandler.getRequestArgs (  ) 

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

Returns:
array

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

References getMonograph(), and getPublicationFormat().

& PublicationDateGridHandler.getRowInstance (  ) 
See also:
GridHandler.getRowInstance()
Returns:
PublicationDateGridRow

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

References getMonograph().

Referenced by updateDate().

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

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

References getPublicationFormat().

PublicationDateGridHandler.PublicationDateGridHandler (  ) 

Constructor

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

PublicationDateGridHandler.setMonograph ( monograph  ) 

Set the Monograph

Parameters:
Monograph 

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

PublicationDateGridHandler.setPublicationFormat ( publicationFormat  ) 

Set the publication format

Parameters:
PublicationFormat 

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

PublicationDateGridHandler.updateDate ( args,
&$  request 
)

Update a date

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

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

References getMonograph(), and getRowInstance().


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