|
Open Monograph Press
3.3.0
|
Additional Inherited Members | |
Data Fields inherited from DataObject | |
| $_data = array() | |
| $_extractionAdaptersLoaded = false | |
| $_hasLoadableAdapters = false | |
| $_injectionAdaptersLoaded = false | |
| $_metadataExtractionAdapters = array() | |
| $_metadataInjectionAdapters = array() | |
A publication format for a monograph.
Definition at line 19 of file PublicationFormat.inc.php.
| PublicationFormat::__construct | ( | ) |
Constructor.
Reimplemented from Representation.
Definition at line 23 of file PublicationFormat.inc.php.
| PublicationFormat::_checkRequiredFieldsAssigned | ( | ) |
Internal function to provide some validation for the ONIX export by checking the required ONIX fields associated with this format.
Definition at line 473 of file PublicationFormat.inc.php.
References getCalculatedFileSize(), DataObject\getData(), getFileSize(), and getPhysicalFormat().
Referenced by hasNeededONIXFields().
| PublicationFormat::getBackMatter | ( | ) |
Get the page count for the back matter section of a publication format.
Definition at line 368 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getBestId | ( | ) |
Return the "best" publication format ID – If a public ID is set, use it; otherwise use the internal ID.
Definition at line 32 of file PublicationFormat.inc.php.
References DataObject\getData(), and DataObject\getId().
| PublicationFormat::getCalculatedFileSize | ( | ) |
Get the file size of the monograph format based on calculated sizes for approved proof files.
Definition at line 253 of file PublicationFormat.inc.php.
References PKPServices\get(), DAORegistry\getDAO(), DataObject\getData(), and DataObject\getId().
Referenced by _checkRequiredFieldsAssigned().
| PublicationFormat::getCountryManufactureCode | ( | ) |
Get the country of manufacture code that this format was manufactured in.
Definition at line 84 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getDimensions | ( | ) |
Return the format's physical dimensions
Definition at line 505 of file PublicationFormat.inc.php.
References getHeight(), getHeightUnitCode(), getPhysicalFormat(), getThickness(), getThicknessUnitCode(), getWidth(), and getWidthUnitCode().
| PublicationFormat::getEntryKey | ( | ) |
Get the ONIX code for this publication format
Definition at line 58 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by getNameForONIXCode().
| PublicationFormat::getFileSize | ( | ) |
Get the file size of the monograph format.
Definition at line 244 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by _checkRequiredFieldsAssigned().
| PublicationFormat::getFrontMatter | ( | ) |
Get the page count for the front matter section of a publication format.
Definition at line 352 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getHeight | ( | ) |
Get the height of the monograph format.
Definition at line 116 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by getDimensions().
| PublicationFormat::getHeightUnitCode | ( | ) |
Get the height unit (ONIX value) of the monograph format (List50).
Definition at line 132 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by getDimensions().
| PublicationFormat::getIdentificationCodes | ( | ) |
Get the IdentificationCode objects for this format.
Definition at line 293 of file PublicationFormat.inc.php.
References DAORegistry\getDAO(), and DataObject\getId().
Referenced by hasNeededONIXFields().
| PublicationFormat::getImprint | ( | ) |
Get the imprint brand name for a publication format.
Definition at line 384 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getIsAvailable | ( | ) |
Get whether or not this format is available in the catalog.
Definition at line 432 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getMarkets | ( | ) |
Get the Market objects for this format.
Definition at line 311 of file PublicationFormat.inc.php.
References DAORegistry\getDAO(), and DataObject\getId().
Referenced by hasNeededONIXFields().
| PublicationFormat::getNameForONIXCode | ( | ) |
Get the human readable name for this ONIX code
Definition at line 74 of file PublicationFormat.inc.php.
References DAORegistry\getDAO(), and getEntryKey().
| PublicationFormat::getPhysicalFormat | ( | ) |
get physical format flag
Definition at line 42 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by _checkRequiredFieldsAssigned(), and getDimensions().
| PublicationFormat::getPressId | ( | ) |
Get the press id from the monograph assigned to this publication format.
Definition at line 497 of file PublicationFormat.inc.php.
References Representation\getContextId().
| PublicationFormat::getProductAvailabilityCode | ( | ) |
Get the product availability code (ONIX value) for this format (List65).
Definition at line 100 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getProductCompositionCode | ( | ) |
Get the product composition code (ONIX value) used for this format (List2).
Definition at line 336 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getProductFormDetailCode | ( | ) |
Get the product form detail code (ONIX value) for the format used for this format (List151).
Definition at line 320 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getPublicationDates | ( | ) |
Get the PublicationDate objects for this format.
Definition at line 302 of file PublicationFormat.inc.php.
References DAORegistry\getDAO(), and DataObject\getId().
| PublicationFormat::getReturnableIndicatorCode | ( | ) |
Get the return code for a physical publication format (List66).
Definition at line 416 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getSalesRights | ( | ) |
Get the SalesRights objects for this format.
Definition at line 284 of file PublicationFormat.inc.php.
References DAORegistry\getDAO(), and DataObject\getId().
| PublicationFormat::getTechnicalProtectionCode | ( | ) |
Get the technical protection code for a digital publication format (List144).
Definition at line 400 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getThickness | ( | ) |
Get the thickness of the monograph format.
Definition at line 180 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by getDimensions().
| PublicationFormat::getThicknessUnitCode | ( | ) |
Get the thickness unit code (ONIX value) of the monograph format (List50).
Definition at line 196 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by getDimensions().
| PublicationFormat::getWeight | ( | ) |
Get the weight of the monograph format.
Definition at line 212 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getWeightUnitCode | ( | ) |
Get the weight unit code (ONIX value) of the monograph format (List95).
Definition at line 228 of file PublicationFormat.inc.php.
References DataObject\getData().
| PublicationFormat::getWidth | ( | ) |
Get the width of the monograph format.
Definition at line 148 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by getDimensions().
| PublicationFormat::getWidthUnitCode | ( | ) |
Get the width unit code (ONIX value) of the monograph format (List50).
Definition at line 164 of file PublicationFormat.inc.php.
References DataObject\getData().
Referenced by getDimensions().
| PublicationFormat::hasNeededONIXFields | ( | ) |
Check to see if this publication format has everything it needs for valid ONIX export Ideally, do this with a DOMDocument schema validation. We do it this way for now because of a potential issue with libxml2: http://stackoverflow.com/questions/6284827
Definition at line 451 of file PublicationFormat.inc.php.
References _checkRequiredFieldsAssigned(), getIdentificationCodes(), and getMarkets().
| PublicationFormat::setBackMatter | ( | $backMatter | ) |
Set the back matter page count for a publication format.
| $backMatter | string |
Definition at line 376 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setCountryManufactureCode | ( | $countryManufactureCode | ) |
Set the country of manufacture code for a publication format.
| $countryManufactureCode | string |
Definition at line 92 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setEntryKey | ( | $entryKey | ) |
Sets the ONIX code for the publication format
| $code | string |
Definition at line 66 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setFileSize | ( | $fileSize | ) |
Set the file size of the publication format.
| $fileSize | string |
Definition at line 276 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setFrontMatter | ( | $frontMatter | ) |
Set the front matter page count for a publication format.
| $frontMatter | string |
Definition at line 360 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setHeight | ( | $height | ) |
Set the height of a publication format.
| $height | string |
Definition at line 124 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setHeightUnitCode | ( | $heightUnitCode | ) |
Set the height unit (ONIX value) for a publication format.
| $heightUnitCode | string |
Definition at line 140 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setImprint | ( | $imprint | ) |
Set the imprint brand name for a publication format.
| $imprint | string |
Definition at line 392 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setIsAvailable | ( | $isAvailable | ) |
Set whether or not this format is available in the catalog.
| $isAvailable | int |
Definition at line 440 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setPhysicalFormat | ( | $physicalFormat | ) |
set physical format flag
| $physicalFormat | bool |
Definition at line 50 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setProductAvailabilityCode | ( | $productAvailabilityCode | ) |
Set the product availability code (ONIX value) for a publication format.
| $productAvailabilityCode | string |
Definition at line 108 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setProductCompositionCode | ( | $productCompositionCode | ) |
Set the product composition code (ONIX value) for a publication format.
| $productCompositionCode | string |
Definition at line 344 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setProductFormDetailCode | ( | $productFormDetailCode | ) |
Set the product form detail code (ONIX value) for a publication format.
| $productFormDetailCode | string |
Definition at line 328 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setReturnableIndicatorCode | ( | $returnableIndicatorCode | ) |
Set the return code for a publication format.
| $returnableIndicatorCode | string |
Definition at line 424 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setTechnicalProtectionCode | ( | $technicalProtectionCode | ) |
Set the technical protection code for a publication format.
| $technicalProtectionCode | string |
Definition at line 408 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setThickness | ( | $thickness | ) |
Set the thickness of a publication format.
| $thickness | string |
Definition at line 188 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setThicknessUnitCode | ( | $thicknessUnitCode | ) |
Set the thickness unit code (ONIX value) for a publication format.
| $thicknessUnitCode | string |
Definition at line 204 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setWeight | ( | $weight | ) |
Set the weight for a publication format.
| $weight | string |
Definition at line 220 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setWeightUnitCode | ( | $weightUnitCode | ) |
Set the weight unit code (ONIX value) for a publication format.
| $weightUnitCode | string |
Definition at line 236 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setWidth | ( | $width | ) |
Set the width of a publication format.
| $width | string |
Definition at line 156 of file PublicationFormat.inc.php.
References DataObject\setData().
| PublicationFormat::setWidthUnitCode | ( | $widthUnitCode | ) |
Set the width unit code (ONIX value) for a publication format.
| $widthUnitCode | string |
Definition at line 172 of file PublicationFormat.inc.php.
References DataObject\setData().