A publication format for a monograph. More...
A publication format for a monograph.
Definition at line 18 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 539 of file PublicationFormat.inc.php.
References getCalculatedFileSize(), getFileSize(), and getPhysicalFormat().
Referenced by hasNeededONIXFields().
| PublicationFormat.getBackMatter | ( | ) |
Get the page count for the back matter section of a publication format.
Definition at line 433 of file PublicationFormat.inc.php.
| PublicationFormat.getCalculatedFileSize | ( | ) |
Get the file size of the monograph format based on calculated sizes for approved proof files.
Definition at line 316 of file PublicationFormat.inc.php.
References getMonographId().
Referenced by _checkRequiredFieldsAssigned().
| PublicationFormat.getCountryManufactureCode | ( | ) |
Get the country of manufacture code that this format was manufactured in.
Definition at line 147 of file PublicationFormat.inc.php.
| PublicationFormat.getEntryKey | ( | ) |
Get the ONIX code for this publication format
Definition at line 65 of file PublicationFormat.inc.php.
Referenced by getNameForONIXCode().
| PublicationFormat.getFileSize | ( | ) |
Get the file size of the monograph format.
Definition at line 307 of file PublicationFormat.inc.php.
Referenced by _checkRequiredFieldsAssigned().
| PublicationFormat.getFrontMatter | ( | ) |
Get the page count for the front matter section of a publication format.
Definition at line 417 of file PublicationFormat.inc.php.
| PublicationFormat.getHeight | ( | ) |
Get the height of the monograph format.
Definition at line 179 of file PublicationFormat.inc.php.
| PublicationFormat.getHeightUnitCode | ( | ) |
Get the height unit (ONIX value) of the monograph format (List50).
Definition at line 195 of file PublicationFormat.inc.php.
| PublicationFormat.getIdentificationCodes | ( | ) |
Get the IdentificationCode objects for this format.
Definition at line 356 of file PublicationFormat.inc.php.
Referenced by hasNeededONIXFields().
| PublicationFormat.getImprint | ( | ) |
Get the imprint brand name for a publication format.
Definition at line 449 of file PublicationFormat.inc.php.
| PublicationFormat.getIsApproved | ( | ) |
| PublicationFormat.getIsAvailable | ( | ) |
Get whether or not this format is available in the catalog.
Definition at line 497 of file PublicationFormat.inc.php.
| PublicationFormat.getLocalizedName | ( | ) |
Get "localized" format name (if applicable).
Definition at line 106 of file PublicationFormat.inc.php.
| PublicationFormat.getMarkets | ( | ) |
Get the Market objects for this format.
Definition at line 376 of file PublicationFormat.inc.php.
Referenced by hasNeededONIXFields().
| PublicationFormat.getMonographId | ( | ) |
get monograph id
Definition at line 139 of file PublicationFormat.inc.php.
Referenced by getCalculatedFileSize().
| PublicationFormat.getName | ( | ) |
Get the format name (if applicable).
Definition at line 114 of file PublicationFormat.inc.php.
| PublicationFormat.getNameForONIXCode | ( | ) |
Get the human readable name for this ONIX code
Definition at line 81 of file PublicationFormat.inc.php.
References getEntryKey().
| PublicationFormat.getPhysicalFormat | ( | ) |
get physical format flag
Definition at line 49 of file PublicationFormat.inc.php.
Referenced by _checkRequiredFieldsAssigned().
| PublicationFormat.getProductAvailabilityCode | ( | ) |
Get the product availability code (ONIX value) for this format (List65).
Definition at line 163 of file PublicationFormat.inc.php.
| PublicationFormat.getProductCompositionCode | ( | ) |
Get the product composition code (ONIX value) used for this format (List2).
Definition at line 401 of file PublicationFormat.inc.php.
| PublicationFormat.getProductFormDetailCode | ( | ) |
Get the product form detail code (ONIX value) for the format used for this format (List151).
Definition at line 385 of file PublicationFormat.inc.php.
| PublicationFormat.getPublicationDates | ( | ) |
Get the PublicationDate objects for this format.
Definition at line 366 of file PublicationFormat.inc.php.
| PublicationFormat.getReturnableIndicatorCode | ( | ) |
Get the return code for a physical publication format (List66).
Definition at line 481 of file PublicationFormat.inc.php.
| PublicationFormat.getSalesRights | ( | ) |
Get the SalesRights objects for this format.
Definition at line 346 of file PublicationFormat.inc.php.
| PublicationFormat.getSeq | ( | ) |
Get sequence of format in format listings for the monograph.
Definition at line 90 of file PublicationFormat.inc.php.
| PublicationFormat.getTechnicalProtectionCode | ( | ) |
Get the technical protection code for a digital publication format (List144).
Definition at line 465 of file PublicationFormat.inc.php.
| PublicationFormat.getThickness | ( | ) |
Get the thickness of the monograph format.
Definition at line 243 of file PublicationFormat.inc.php.
| PublicationFormat.getThicknessUnitCode | ( | ) |
Get the thickness unit code (ONIX value) of the monograph format (List50).
Definition at line 259 of file PublicationFormat.inc.php.
| PublicationFormat.getWeight | ( | ) |
Get the weight of the monograph format.
Definition at line 275 of file PublicationFormat.inc.php.
| PublicationFormat.getWeightUnitCode | ( | ) |
Get the weight unit code (ONIX value) of the monograph format (List95).
Definition at line 291 of file PublicationFormat.inc.php.
| PublicationFormat.getWidth | ( | ) |
Get the width of the monograph format.
Definition at line 211 of file PublicationFormat.inc.php.
| PublicationFormat.getWidthUnitCode | ( | ) |
Get the width unit code (ONIX value) of the monograph format (List50).
Definition at line 227 of file PublicationFormat.inc.php.
| 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 516 of file PublicationFormat.inc.php.
References _checkRequiredFieldsAssigned(), getIdentificationCodes(), and getMarkets().
| PublicationFormat.PublicationFormat | ( | ) |
Constructor.
Definition at line 22 of file PublicationFormat.inc.php.
| PublicationFormat.setBackMatter | ( | $ | backMatter | ) |
Set the back matter page count for a publication format.
| string | $backMatter |
Definition at line 441 of file PublicationFormat.inc.php.
| PublicationFormat.setCountryManufactureCode | ( | $ | countryManufactureCode | ) |
Set the country of manufacture code for a publication format.
| string | $countryManufactureCode |
Definition at line 155 of file PublicationFormat.inc.php.
| PublicationFormat.setEntryKey | ( | $ | entryKey | ) |
Sets the ONIX code for the publication format
| string | $code |
Definition at line 73 of file PublicationFormat.inc.php.
| PublicationFormat.setFileSize | ( | $ | fileSize | ) |
Set the file size of the publication format.
| string | $fileSize |
Definition at line 338 of file PublicationFormat.inc.php.
| PublicationFormat.setFrontMatter | ( | $ | frontMatter | ) |
Set the front matter page count for a publication format.
| string | $frontMatter |
Definition at line 425 of file PublicationFormat.inc.php.
| PublicationFormat.setHeight | ( | $ | height | ) |
Set the height of a publication format.
| string | $height |
Definition at line 187 of file PublicationFormat.inc.php.
| PublicationFormat.setHeightUnitCode | ( | $ | heightUnitCode | ) |
Set the height unit (ONIX value) for a publication format.
| string | $heightUnitCode |
Definition at line 203 of file PublicationFormat.inc.php.
| PublicationFormat.setImprint | ( | $ | imprint | ) |
Set the imprint brand name for a publication format.
| string | $imprint |
Definition at line 457 of file PublicationFormat.inc.php.
| PublicationFormat.setIsApproved | ( | $ | approved | ) |
set approved flag
| $approved | int |
Definition at line 41 of file PublicationFormat.inc.php.
| PublicationFormat.setIsAvailable | ( | $ | isAvailable | ) |
Set whether or not this format is available in the catalog.
| $isAvailable | int |
Definition at line 505 of file PublicationFormat.inc.php.
| PublicationFormat.setMonographId | ( | $ | monographId | ) |
set monograph id.
| $monographId | int |
Definition at line 131 of file PublicationFormat.inc.php.
| PublicationFormat.setName | ( | $ | name | ) |
Set name.
| $name | string | |
| $locale |
Definition at line 123 of file PublicationFormat.inc.php.
| PublicationFormat.setPhysicalFormat | ( | $ | physicalFormat | ) |
set physical format flag
| $physicalFormat | int |
Definition at line 57 of file PublicationFormat.inc.php.
| PublicationFormat.setProductAvailabilityCode | ( | $ | productAvailabilityCode | ) |
Set the product availability code (ONIX value) for a publication format.
| string | $productAvailabilityCode |
Definition at line 171 of file PublicationFormat.inc.php.
| PublicationFormat.setProductCompositionCode | ( | $ | productCompositionCode | ) |
Set the product composition code (ONIX value) for a publication format.
| string | $productCompositionCode |
Definition at line 409 of file PublicationFormat.inc.php.
| PublicationFormat.setProductFormDetailCode | ( | $ | productFormDetailCode | ) |
Set the product form detail code (ONIX value) for a publication format.
| string | $productFormDetailCode |
Definition at line 393 of file PublicationFormat.inc.php.
| PublicationFormat.setReturnableIndicatorCode | ( | $ | returnableIndicatorCode | ) |
Set the return code for a publication format.
| string | $returnableIndicatorCode |
Definition at line 489 of file PublicationFormat.inc.php.
| PublicationFormat.setSeq | ( | $ | seq | ) |
Set sequence of format in format listings for the monograph.
| $sequence | float |
Definition at line 98 of file PublicationFormat.inc.php.
| PublicationFormat.setTechnicalProtectionCode | ( | $ | technicalProtectionCode | ) |
Set the technical protection code for a publication format.
| string | $technicalProtectionCode |
Definition at line 473 of file PublicationFormat.inc.php.
| PublicationFormat.setThickness | ( | $ | thickness | ) |
Set the thickness of a publication format.
| string | $thinkness |
Definition at line 251 of file PublicationFormat.inc.php.
| PublicationFormat.setThicknessUnitCode | ( | $ | thicknessUnitCode | ) |
Set the thickness unit code (ONIX value) for a publication format.
| string | $thicknessUnitCode |
Definition at line 267 of file PublicationFormat.inc.php.
| PublicationFormat.setWeight | ( | $ | weight | ) |
Set the weight for a publication format.
| string | $weight |
Definition at line 283 of file PublicationFormat.inc.php.
| PublicationFormat.setWeightUnitCode | ( | $ | weightUnitCode | ) |
Set the weight unit code (ONIX value) for a publication format.
| string | $weightUnitCode |
Definition at line 299 of file PublicationFormat.inc.php.
| PublicationFormat.setWidth | ( | $ | width | ) |
Set the width of a publication format.
| string | $width |
Definition at line 219 of file PublicationFormat.inc.php.
| PublicationFormat.setWidthUnitCode | ( | $ | widthUnitCode | ) |
Set the width unit code (ONIX value) for a publication format.
| string | $widthUnitCode |
Definition at line 235 of file PublicationFormat.inc.php.
1.7.1