|
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() | |
Basic class describing a sales rights composite type (used on the ONIX templates for publication formats)
Definition at line 17 of file SalesRights.inc.php.
| SalesRights::__construct | ( | ) |
| SalesRights::_removeEmptyElements | ( | $value | ) |
Internal function for an array_filter to remove empty countries. array_filter() can be called without a callback to remove empty array elements but it depends on type juggling and may not be reliable.
| String | $value |
Definition at line 154 of file SalesRights.inc.php.
| SalesRights::getCountriesExcluded | ( | ) |
Get the excluded countries for this sales rights entry
Definition at line 103 of file SalesRights.inc.php.
References DataObject\getData().
| SalesRights::getCountriesIncluded | ( | ) |
Get the included countries for this sales rights entry
Definition at line 87 of file SalesRights.inc.php.
References DataObject\getData().
| SalesRights::getNameForONIXCode | ( | ) |
Get the human readable name for this ONIX code
Definition at line 61 of file SalesRights.inc.php.
References DAORegistry\getDAO(), and getType().
| SalesRights::getPublicationFormatId | ( | ) |
get publication format id
Definition at line 29 of file SalesRights.inc.php.
References DataObject\getData().
| SalesRights::getRegionsExcluded | ( | ) |
Get the excluded regions for this sales rights entry
Definition at line 135 of file SalesRights.inc.php.
References DataObject\getData().
| SalesRights::getRegionsIncluded | ( | ) |
Get the included regions for this sales rights entry
Definition at line 119 of file SalesRights.inc.php.
References DataObject\getData().
| SalesRights::getROWSetting | ( | ) |
Get the ROWSetting value for this sales rights entry (Rest Of World)
Definition at line 79 of file SalesRights.inc.php.
References DataObject\getData().
| SalesRights::getType | ( | ) |
Get the ONIX code for this sales rights entry
Definition at line 53 of file SalesRights.inc.php.
References DataObject\getData().
Referenced by getNameForONIXCode().
| SalesRights::setCountriesExcluded | ( | $countriesExcluded | ) |
Set the excluded country list for this sales rights entry
| $countriesExcluded | array |
Definition at line 111 of file SalesRights.inc.php.
References DataObject\setData().
| SalesRights::setCountriesIncluded | ( | $countriesIncluded | ) |
Set the included country list for this sales rights entry
| $countriesIncluded | array |
Definition at line 95 of file SalesRights.inc.php.
References DataObject\setData().
| SalesRights::setPublicationFormatId | ( | $publicationFormatId | ) |
set publication format id
| $pressId | int |
Definition at line 37 of file SalesRights.inc.php.
References DataObject\setData().
| SalesRights::setRegionsExcluded | ( | $regionsExcluded | ) |
Set the excluded region list for this sales rights entry
| $regionsExcluded | array |
Definition at line 143 of file SalesRights.inc.php.
References DataObject\setData().
| SalesRights::setRegionsIncluded | ( | $regionsIncluded | ) |
Set the included region list for this sales rights entry
| $regionsIncluded | array |
Definition at line 127 of file SalesRights.inc.php.
References DataObject\setData().
| SalesRights::setROWSetting | ( | $rowSetting | ) |
Set the ROWSetting for this sales rights entry (Rest Of World)
| $rowSetting | boolean |
Definition at line 71 of file SalesRights.inc.php.
References DataObject\setData().
| SalesRights::setType | ( | $type | ) |
Set the ONIX code for this sales rights entry
| $type | string |
Definition at line 45 of file SalesRights.inc.php.
References DataObject\setData().