Base class for a cell provider that can retrieve labels for publication formats. More...
Public Member Functions | |
| getCellActions ($request, $row, $column) | |
| getCellState (&$row, &$column) | |
| getInCatalogEntryModal () | |
| & | getMonographFiles ($publicationFormatId) |
| getMonographId () | |
| getTemplateVarsFromRowColumn (&$row, $column) | |
| isProofComplete (&$publicationFormat) | |
| PublicationFormatGridCellProvider ($monographId, $inCatalogEntryModal) | |
Base class for a cell provider that can retrieve labels for publication formats.
Definition at line 20 of file PublicationFormatGridCellProvider.inc.php.
| PublicationFormatGridCellProvider.getCellActions | ( | $ | request, | |
| $ | row, | |||
| $ | column | |||
| ) |
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
| $row | GridRow | |
| $column | GridColumn |
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.
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.
| $publicationFormatId | int |
Definition at line 208 of file PublicationFormatGridCellProvider.inc.php.
References getMonographId().
Referenced by isProofComplete().
| PublicationFormatGridCellProvider.getMonographId | ( | ) |
Get monograph id.
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.
| $row | GridRow | |
| $column | GridColumn |
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.
| $publicationFormat | PublicationFormat |
Definition at line 94 of file PublicationFormatGridCellProvider.inc.php.
References getMonographFiles().
Referenced by getCellActions(), and getCellState().
| PublicationFormatGridCellProvider.PublicationFormatGridCellProvider | ( | $ | monographId, | |
| $ | inCatalogEntryModal | |||
| ) |
Constructor
| $monographId | int | |
| $inCatalogEntryModal | boolean Tells if grid is loaded inside catalog entry modal. |
Definition at line 34 of file PublicationFormatGridCellProvider.inc.php.
1.7.1