Public Member Functions

PublicationFormatGridCellProvider Class Reference

Base class for a cell provider that can retrieve labels for publication formats. More...

Inheritance diagram for PublicationFormatGridCellProvider:
DataObjectGridCellProvider

List of all members.

Public Member Functions

 getCellActions ($request, $row, $column)
 getCellState (&$row, &$column)
 getInCatalogEntryModal ()
getMonographFiles ($publicationFormatId)
 getMonographId ()
 getTemplateVarsFromRowColumn (&$row, $column)
 isProofComplete (&$publicationFormat)
 PublicationFormatGridCellProvider ($monographId, $inCatalogEntryModal)

Detailed Description

Base class for a cell provider that can retrieve labels for publication formats.

Definition at line 20 of file PublicationFormatGridCellProvider.inc.php.


Member Function Documentation

PublicationFormatGridCellProvider.getCellActions ( request,
row,
column 
)
See also:
GridCellProvider.getCellActions()

Definition at line 133 of file PublicationFormatGridCellProvider.inc.php.

References getCellState(), getInCatalogEntryModal(), and isProofComplete().

PublicationFormatGridCellProvider.getCellState ( &$  row,
&$  column 
)

Gathers the state of a given cell given a $row/$column combination

Parameters:
$row GridRow
$column GridColumn
Returns:
string

Definition at line 114 of file PublicationFormatGridCellProvider.inc.php.

References isProofComplete().

Referenced by getCellActions(), and getTemplateVarsFromRowColumn().

PublicationFormatGridCellProvider.getInCatalogEntryModal (  ) 

Get a flag that tells if grid is loaded inside the catalog entry modal.

Returns:
boolean

Definition at line 57 of file PublicationFormatGridCellProvider.inc.php.

Referenced by getCellActions().

& PublicationFormatGridCellProvider.getMonographFiles ( publicationFormatId  ) 

Get the monograph files associated with the passed publication format id.

Parameters:
$publicationFormatId int
Returns:
array

Definition at line 208 of file PublicationFormatGridCellProvider.inc.php.

References getMonographId().

Referenced by isProofComplete().

PublicationFormatGridCellProvider.getMonographId (  ) 

Get monograph id.

Returns:
int

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

Referenced by getMonographFiles().

PublicationFormatGridCellProvider.getTemplateVarsFromRowColumn ( &$  row,
column 
)

Extracts variables for a given column from a data element so that they may be assigned to template before rendering.

Parameters:
$row GridRow
$column GridColumn
Returns:
array

Definition at line 72 of file PublicationFormatGridCellProvider.inc.php.

References getCellState().

PublicationFormatGridCellProvider.isProofComplete ( &$  publicationFormat  ) 

Determine if at least one proof is complete for the publication format.

Parameters:
$publicationFormat PublicationFormat
Returns:
boolean

Definition at line 94 of file PublicationFormatGridCellProvider.inc.php.

References getMonographFiles().

Referenced by getCellActions(), and getCellState().

PublicationFormatGridCellProvider.PublicationFormatGridCellProvider ( monographId,
inCatalogEntryModal 
)

Constructor

Parameters:
$monographId int
$inCatalogEntryModal boolean Tells if grid is loaded inside catalog entry modal.

Definition at line 34 of file PublicationFormatGridCellProvider.inc.php.


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