Open Monograph Press  3.3.0
ChapterGridCategoryRow Class Reference
Inheritance diagram for ChapterGridCategoryRow:
GridCategoryRow GridRow GridBodyElement

Public Member Functions

 __construct ($monograph, $publication, $readOnly=false)
 
 getChapter ()
 
 getMonograph ()
 
 getPublication ()
 
 initialize ($request, $template=null)
 
 isReadOnly ()
 
- Public Member Functions inherited from GridCategoryRow
 __construct ()
 
 getCategoryLabel ()
 
 getEmptyCategoryRowText ()
 
 setEmptyCategoryRowText ($emptyCategoryRowText)
 
- Public Member Functions inherited from GridRow
 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
 addFlag ($flag, $value=true)
 
 getCellProvider ()
 
 getFlag ($flag)
 
 getFlags ()
 
 getId ()
 
 hasFlag ($flag)
 
 setCellProvider ($cellProvider)
 
 setId ($id)
 

Data Fields

 $_chapter
 
 $_monograph
 
 $_publication
 
 $_readOnly
 
- Data Fields inherited from GridCategoryRow
 $_emptyCategoryRowText = 'grid.noItems'
 
- 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

Chapter grid category row definition.

Definition at line 22 of file ChapterGridCategoryRow.inc.php.

Constructor & Destructor Documentation

◆ __construct()

ChapterGridCategoryRow::__construct (   $monograph,
  $publication,
  $readOnly = false 
)

Constructor

Reimplemented from GridBodyElement.

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

Member Function Documentation

◆ getChapter()

ChapterGridCategoryRow::getChapter ( )

Get the chapter for this row

Returns
Chapter

Definition at line 123 of file ChapterGridCategoryRow.inc.php.

References $_chapter.

◆ getMonograph()

ChapterGridCategoryRow::getMonograph ( )

Get the monograph for this row (already authorized)

Returns
Monograph

Definition at line 107 of file ChapterGridCategoryRow.inc.php.

References $_monograph.

Referenced by initialize().

◆ getPublication()

ChapterGridCategoryRow::getPublication ( )

Get the publication for this row (already authorized)

Returns
Publication

Definition at line 115 of file ChapterGridCategoryRow.inc.php.

References $_publication.

◆ initialize()

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

Initialize a row instance.

Subclasses can override this method.

Parameters
$requestPKPRequest
$templatestring

Reimplemented from GridRow.

Definition at line 63 of file ChapterGridCategoryRow.inc.php.

References GridRow\addAction(), GridRow\getData(), GridBodyElement\getId(), getMonograph(), and isReadOnly().

◆ isReadOnly()

ChapterGridCategoryRow::isReadOnly ( )

Determine if this grid row should be read only.

Returns
boolean

Definition at line 131 of file ChapterGridCategoryRow.inc.php.

References $_readOnly.

Referenced by initialize().

Field Documentation

◆ $_chapter

Chapter ChapterGridCategoryRow::$_chapter

Definition at line 39 of file ChapterGridCategoryRow.inc.php.

Referenced by getChapter().

◆ $_monograph

Monograph ChapterGridCategoryRow::$_monograph

Definition at line 27 of file ChapterGridCategoryRow.inc.php.

Referenced by getMonograph().

◆ $_publication

Publication ChapterGridCategoryRow::$_publication

Definition at line 33 of file ChapterGridCategoryRow.inc.php.

Referenced by getPublication().

◆ $_readOnly

$_readOnly ChapterGridCategoryRow::$_readOnly

Definition at line 45 of file ChapterGridCategoryRow.inc.php.

Referenced by isReadOnly().


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