Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
GridDataProvider Class Reference
Inheritance diagram for GridDataProvider:
CategoryGridDataProvider

Public Member Functions

 getAuthorizationPolicy (&$request, $args, $roleAssignments)
 
getAuthorizedContextObject ($assocType)
 
 getRequestArgs ()
 
 GridDataProvider ()
 
 hasAuthorizedContextObject ($assocType)
 
loadData ()
 
 setAuthorizedContext (&$authorizedContext)
 

Detailed Description

Provide access to grid data.

Definition at line 16 of file GridDataProvider.inc.php.

Member Function Documentation

GridDataProvider::getAuthorizationPolicy ( $request,
  $args,
  $roleAssignments 
)

Get the authorization policy.

Parameters
$requestPKPRequest
$argsarray
$roleAssignmentsarray
Returns
PolicySet

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

& GridDataProvider::getAuthorizedContextObject (   $assocType)

Retrieve an object from the authorized context

Parameters
$assocTypeinteger
Returns
mixed will return null if the context for the given assoc type does not exist.

Definition at line 46 of file GridDataProvider.inc.php.

References hasAuthorizedContextObject().

GridDataProvider::getRequestArgs ( )

Get an array with all request parameters necessary to uniquely identify the data selection of this data provider.

Returns
array

Definition at line 86 of file GridDataProvider.inc.php.

GridDataProvider::GridDataProvider ( )

Constructor

Definition at line 24 of file GridDataProvider.inc.php.

GridDataProvider::hasAuthorizedContextObject (   $assocType)

Check whether an object already exists in the authorized context.

Parameters
$assocTypeinteger
Returns
boolean

Definition at line 61 of file GridDataProvider.inc.php.

Referenced by getAuthorizedContextObject().

& GridDataProvider::loadData ( )

Retrieve the data to load into the grid.

Returns
array

Definition at line 94 of file GridDataProvider.inc.php.

GridDataProvider::setAuthorizedContext ( $authorizedContext)

Set the authorized context once it is established.

Parameters
$authorizedContextarray

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


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