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

Public Member Functions

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

Data Fields

 $_publication
 
 $_readOnly
 
 $_submission
 
 $_version
 
- 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

Base class for author grid row definition.

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

Constructor & Destructor Documentation

◆ __construct()

AuthorGridRow::__construct (   $submission,
  $publication,
  $readOnly = false 
)

Constructor

Reimplemented from GridBodyElement.

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

Member Function Documentation

◆ allowedToCreateUser()

AuthorGridRow::allowedToCreateUser (   $request)

Determines whether the current user can create user accounts from authors present in the grid. Overridden by child grid rows.

Parameters
PKPRequest$request
Returns
boolean

Definition at line 161 of file AuthorGridRow.inc.php.

◆ getPublication()

AuthorGridRow::getPublication ( )

Get the publication for this row (already authorized)

Returns
Publication

Definition at line 137 of file AuthorGridRow.inc.php.

References $_publication.

Referenced by getRequestArgs().

◆ getRequestArgs()

AuthorGridRow::getRequestArgs ( )

Get the base arguments that will identify the data in the grid.

Returns
array

Reimplemented from GridRow.

Definition at line 145 of file AuthorGridRow.inc.php.

References getPublication(), and getSubmission().

Referenced by initialize().

◆ getSubmission()

AuthorGridRow::getSubmission ( )

Get the submission for this row (already authorized)

Returns
Submission

Definition at line 129 of file AuthorGridRow.inc.php.

References $_submission.

Referenced by getRequestArgs().

◆ initialize()

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

Initialize a row instance.

Subclasses can override this method.

Parameters
$requestPKPRequest
$templatestring

Reimplemented from GridRow.

Definition at line 59 of file AuthorGridRow.inc.php.

References GridRow\addAction(), DAORegistry\getDAO(), GridBodyElement\getId(), getRequestArgs(), and isReadOnly().

◆ isReadOnly()

AuthorGridRow::isReadOnly ( )

Determine if this grid row should be read only.

Returns
boolean

Definition at line 169 of file AuthorGridRow.inc.php.

References $_readOnly.

Referenced by initialize().

Field Documentation

◆ $_publication

Publication AuthorGridRow::$_publication

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

Referenced by getPublication().

◆ $_readOnly

boolean AuthorGridRow::$_readOnly

Definition at line 35 of file AuthorGridRow.inc.php.

Referenced by isReadOnly().

◆ $_submission

Submission AuthorGridRow::$_submission

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

Referenced by getSubmission().

◆ $_version

int AuthorGridRow::$_version

Definition at line 41 of file AuthorGridRow.inc.php.


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