Open Journal Systems  3.3.0
UserGridRow Class Reference
Inheritance diagram for UserGridRow:
GridRow GridBodyElement

Public Member Functions

 __construct ($oldUserId=null)
 
 getOldUserId ()
 
 initialize ($request, $template=null)
 
- Public Member Functions inherited from GridRow
 __construct ()
 
 addAction ($action, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getActions ($position=GRID_ACTION_POSITION_DEFAULT)
 
getData ()
 
 getGridId ()
 
 getIsModified ()
 
 getRequestArgs ()
 
 getTemplate ()
 
 hasActions ()
 
 setData (&$data)
 
 setGridId ($gridId)
 
 setIsModified ($isModified)
 
 setRequestArgs ($requestArgs)
 
 setTemplate ($template)
 
- Public Member Functions inherited from GridBodyElement
 __construct ($id='', $cellProvider=null, $flags=array())
 
 addFlag ($flag, $value=true)
 
 getCellProvider ()
 
 getFlag ($flag)
 
 getFlags ()
 
 getId ()
 
 hasFlag ($flag)
 
 setCellProvider ($cellProvider)
 
 setId ($id)
 

Data Fields

 $_oldUserId
 
- Data Fields inherited from GridRow
 $_actions = array(GRID_ACTION_POSITION_DEFAULT => array())
 
 $_data
 
 $_gridId
 
 $_isModified
 
 $_requestArgs
 
 $_template
 
- Data Fields inherited from GridBodyElement
 $_cellProvider
 
 $_flags
 
 $_id
 

Detailed Description

User grid row definition.

Definition at line 21 of file UserGridRow.inc.php.

Constructor & Destructor Documentation

◆ __construct()

UserGridRow::__construct (   $oldUserId = null)

Constructor

Definition at line 28 of file UserGridRow.inc.php.

Member Function Documentation

◆ getOldUserId()

UserGridRow::getOldUserId ( )

Returns the stored user id of the user to be removed.

Returns
int the user id.

Definition at line 200 of file UserGridRow.inc.php.

References $_oldUserId.

Referenced by initialize().

◆ initialize()

UserGridRow::initialize (   $request,
  $template = null 
)

Initialize a row instance.

Subclasses can override this method.

Parameters
$requestPKPRequest
$templatestring

Reimplemented from GridRow.

Definition at line 40 of file UserGridRow.inc.php.

References GridRow\addAction(), Validation\canAdminister(), DAORegistry\getDAO(), GridRow\getData(), GridRow\getGridId(), GridBodyElement\getId(), getOldUserId(), GridRow\getRequestArgs(), and Validation\isLoggedInAs().

Field Documentation

◆ $_oldUserId

UserGridRow::$_oldUserId

the user id of the old user to remove when merging users.

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

Referenced by getOldUserId().


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