Open Journal Systems  3.3.0
UserSelectGridCellProvider Class Reference
Inheritance diagram for UserSelectGridCellProvider:
DataObjectGridCellProvider GridCellProvider

Public Member Functions

 __construct ($userId=null)
 
 getTemplateVarsFromRowColumn ($row, $column)
 
- Public Member Functions inherited from DataObjectGridCellProvider
 getLocale ()
 
 setLocale ($locale)
 
- Public Member Functions inherited from GridCellProvider
 __construct ()
 
 getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT)
 
 render ($request, $row, $column)
 

Data Fields

 $_userId
 
- Data Fields inherited from DataObjectGridCellProvider
 $_locale = null
 

Detailed Description

Base class for a cell provider that retrieves data for selecting a user.

Definition at line 18 of file UserSelectGridCellProvider.inc.php.

Constructor & Destructor Documentation

◆ __construct()

UserSelectGridCellProvider::__construct (   $userId = null)

Constructor

Parameters
$userIdint ID of preselected user.

Definition at line 29 of file UserSelectGridCellProvider.inc.php.

Member Function Documentation

◆ getTemplateVarsFromRowColumn()

UserSelectGridCellProvider::getTemplateVarsFromRowColumn (   $row,
  $column 
)

Extracts variables for a given column from a data element so that they may be assigned to template before rendering.

Parameters
$rowGridRow
$columnGridColumn
Returns
array

Reimplemented from DataObjectGridCellProvider.

Definition at line 43 of file UserSelectGridCellProvider.inc.php.

Field Documentation

◆ $_userId

int UserSelectGridCellProvider::$_userId

User ID of already-selected user

Definition at line 23 of file UserSelectGridCellProvider.inc.php.


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