Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PublicationFormatGridCellProvider Class Reference
Inheritance diagram for PublicationFormatGridCellProvider:
DataObjectGridCellProvider GridCellProvider

Public Member Functions

 getCellActions ($request, $row, $column)
 
 getCellState ($row, $column)
 
 getInCatalogEntryModal ()
 
getMonographFiles ($publicationFormatId)
 
 getMonographId ()
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 isProofComplete (&$publicationFormat)
 
 PublicationFormatGridCellProvider ($monographId, $inCatalogEntryModal)
 
- Public Member Functions inherited from DataObjectGridCellProvider
 DataObjectGridCellProvider ()
 
 getLocale ()
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 setLocale ($locale)
 
- Public Member Functions inherited from GridCellProvider
 getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 GridCellProvider ()
 
 render ($request, $row, $column)
 

Additional Inherited Members

- Public Attributes inherited from DataObjectGridCellProvider
 $_locale = null
 

Detailed Description

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

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

Member Function Documentation

PublicationFormatGridCellProvider::getCellActions (   $request,
  $row,
  $column 
)
PublicationFormatGridCellProvider::getCellState (   $row,
  $column 
)

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

Parameters
$rowGridRow
$columnGridColumn
Returns
string

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

Referenced by getCellActions().

PublicationFormatGridCellProvider::getInCatalogEntryModal ( )

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

Returns
boolean

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

Referenced by getCellActions().

& PublicationFormatGridCellProvider::getMonographFiles (   $publicationFormatId)

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

Parameters
$publicationFormatIdint
Returns
array

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

PublicationFormatGridCellProvider::getMonographId ( )

Get monograph id.

Returns
int

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

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
$rowGridRow
$columnGridColumn
Returns
array

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

PublicationFormatGridCellProvider::isProofComplete ( $publicationFormat)

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

Parameters
$publicationFormatPublicationFormat
Returns
boolean

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

Referenced by getCellActions().

PublicationFormatGridCellProvider::PublicationFormatGridCellProvider (   $monographId,
  $inCatalogEntryModal 
)

Constructor

Parameters
$monographIdint
$inCatalogEntryModalboolean Tells if grid is loaded inside catalog entry modal.

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


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