Open Journal Systems  3.3.0
QueryTitleGridColumn Class Reference
Inheritance diagram for QueryTitleGridColumn:
GridColumn GridBodyElement

Public Member Functions

 __construct ($actionArgs)
 
 getCellActions ($request, $row, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getTemplateVarsFromRow ($row)
 
- Public Member Functions inherited from GridColumn
 __construct ($id='', $title=null, $titleTranslated=null, $template=null, $cellProvider=null, $flags=array())
 
 getCellProvider ()
 
 getLocalizedTitle ()
 
 getTemplate ()
 
 getTitle ()
 
 setTemplate ($template)
 
 setTitle ($title)
 
 setTitleTranslated ($titleTranslated)
 
- Public Member Functions inherited from GridBodyElement
 __construct ($id='', $cellProvider=null, $flags=array())
 
 addFlag ($flag, $value=true)
 
 getFlag ($flag)
 
 getFlags ()
 
 getId ()
 
 hasFlag ($flag)
 
 setCellProvider ($cellProvider)
 
 setId ($id)
 

Data Fields

 $_actionArgs
 
- Data Fields inherited from GridColumn
 $_template
 
 $_title
 
 $_titleTranslated
 
- Data Fields inherited from GridBodyElement
 $_cellProvider
 
 $_flags
 
 $_id
 

Detailed Description

Implements a query tile column.

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

Constructor & Destructor Documentation

◆ __construct()

QueryTitleGridColumn::__construct (   $actionArgs)

Constructor

Parameters
$actionArgsarray Action args for link actions

Definition at line 30 of file QueryTitleGridColumn.inc.php.

Member Function Documentation

◆ getCellActions()

QueryTitleGridColumn::getCellActions (   $request,
  $row,
  $position = GRID_ACTION_POSITION_DEFAULT 
)

Get cell actions for this column.

NB: Subclasses have to override this method to actually provide cell-specific actions. The default implementation returns an empty array.

Parameters
$rowGridRow The row for which actions are being requested.
Returns
array An array of LinkActions for the cell.

Reimplemented from GridColumn.

Definition at line 64 of file QueryTitleGridColumn.inc.php.

◆ getTemplateVarsFromRow()

QueryTitleGridColumn::getTemplateVarsFromRow (   $row)

Method expected by ColumnBasedGridCellProvider to render a cell in this column.

See also
GridCellProvider::getTemplateVarsFromRowColumn()

Definition at line 50 of file QueryTitleGridColumn.inc.php.

Field Documentation

◆ $_actionArgs

array QueryTitleGridColumn::$_actionArgs

Action args for link actions

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


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