Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
GridBodyElement Class Reference
Inheritance diagram for GridBodyElement:
GridColumn GridRow ListbuilderGridColumn GridCategoryRow ListbuilderGridRow PKPCitationGridRow PKPFilterGridRow MultilingualListbuilderGridColumn

Public Member Functions

 addFlag ($flag, $value=true)
 
getCellProvider ()
 
 getFlag ($flag)
 
 getFlags ()
 
 getId ()
 
 GridBodyElement ($id= '', $cellProvider=null, $flags=array())
 
 hasFlag ($flag)
 
 setCellProvider (&$cellProvider)
 
 setId ($id)
 

Detailed Description

Base class for grid body elements.

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

Member Function Documentation

GridBodyElement::addFlag (   $flag,
  $value = true 
)

Add a layout flag

Parameters
$flagstring
$valuemixed optional

Definition at line 93 of file GridBodyElement.inc.php.

& GridBodyElement::getCellProvider ( )

Get the cell provider

Returns
GridCellProvider

Definition at line 101 of file GridBodyElement.inc.php.

GridBodyElement::getFlag (   $flag)

Get a single layout flag

Parameters
$flagstring
Returns
mixed

Definition at line 73 of file GridBodyElement.inc.php.

GridBodyElement::getFlags ( )

Get all layout flags

Returns
array

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

GridBodyElement::getId ( )

Get the element id

Returns
string

Definition at line 48 of file GridBodyElement.inc.php.

Referenced by PKPCitationGridRow\getCellActions(), PKPFilterGridRow\initialize(), and PKPCitationGridRow\initialize().

GridBodyElement::GridBodyElement (   $id = '',
  $cellProvider = null,
  $flags = array() 
)

Constructor

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

GridBodyElement::hasFlag (   $flag)

Check whether a layout flag is set to true.

Parameters
$flagstring
Returns
boolean

Definition at line 83 of file GridBodyElement.inc.php.

GridBodyElement::setCellProvider ( $cellProvider)

Set the cell provider

Parameters
$cellProviderGridCellProvider

Definition at line 109 of file GridBodyElement.inc.php.

Referenced by GridColumn\getCellProvider(), and GridCategoryRow\GridCategoryRow().

GridBodyElement::setId (   $id)

Set the element id

Parameters
$idstring

Definition at line 56 of file GridBodyElement.inc.php.


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