Public Member Functions

AuthorGridHandler Class Reference

Handle author grid requests. More...

List of all members.

Public Member Functions

 addAuthor ($args, &$request)
 addUser ($args, &$request)
 AuthorGridHandler ()
 authorize (&$request, $args, $roleAssignments)
 deleteAuthor ($args, &$request)
 editAuthor ($args, &$request)
getMonograph ()
 getReadOnly ()
 getRequestArgs ()
getRowInstance ()
loadData ($request, $filter=null)
 setMonograph ($monograph)
 setReadOnly ($readOnly)
 updateAuthor ($args, &$request)

Detailed Description

Handle author grid requests.

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


Member Function Documentation

AuthorGridHandler.addAuthor ( args,
&$  request 
)

An action to manually add a new author

Parameters:
$args array
$request PKPRequest

Definition at line 228 of file AuthorGridHandler.inc.php.

References editAuthor().

AuthorGridHandler.addUser ( args,
&$  request 
)

Add a user with data initialized from an existing author.

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

Definition at line 343 of file AuthorGridHandler.inc.php.

AuthorGridHandler.AuthorGridHandler (  ) 

Constructor

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

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

Definition at line 92 of file AuthorGridHandler.inc.php.

AuthorGridHandler.deleteAuthor ( args,
&$  request 
)

Delete a author

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

Definition at line 320 of file AuthorGridHandler.inc.php.

AuthorGridHandler.editAuthor ( args,
&$  request 
)

Edit a author

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

Definition at line 240 of file AuthorGridHandler.inc.php.

References getMonograph().

Referenced by addAuthor().

& AuthorGridHandler.getMonograph (  ) 

Get the monograph associated with this author grid.

Returns:
Monograph

Definition at line 54 of file AuthorGridHandler.inc.php.

Referenced by editAuthor(), getRequestArgs(), getRowInstance(), loadData(), and updateAuthor().

AuthorGridHandler.getReadOnly (  ) 

Get whether or not this grid should be 'read only'

Returns:
boolean

Definition at line 70 of file AuthorGridHandler.inc.php.

Referenced by getRowInstance().

AuthorGridHandler.getRequestArgs (  ) 

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

Returns:
array

Definition at line 203 of file AuthorGridHandler.inc.php.

References getMonograph().

& AuthorGridHandler.getRowInstance (  ) 
See also:
GridHandler.getRowInstance()
Returns:
AuthorGridRow

Definition at line 192 of file AuthorGridHandler.inc.php.

References getMonograph(), and getReadOnly().

Referenced by updateAuthor().

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

Definition at line 213 of file AuthorGridHandler.inc.php.

References getMonograph().

AuthorGridHandler.setMonograph ( monograph  ) 

Set the MonographId

Parameters:
Monograph 

Definition at line 62 of file AuthorGridHandler.inc.php.

AuthorGridHandler.setReadOnly ( readOnly  ) 

Set the boolean for 'read only' status

Parameters:
boolean 

Definition at line 78 of file AuthorGridHandler.inc.php.

AuthorGridHandler.updateAuthor ( args,
&$  request 
)

Edit a author

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

Definition at line 263 of file AuthorGridHandler.inc.php.

References getMonograph(), and getRowInstance().


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