|
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 Market composite type (used on the ONIX templates for publication formats)
Definition at line 17 of file Market.inc.php.
| Market::__construct | ( | ) |
| Market::_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 324 of file Market.inc.php.
| Market::getAgentId | ( | ) |
Get the id of the assigned agent, if there is one.
Definition at line 254 of file Market.inc.php.
References DataObject\getData().
Referenced by getAssignedRepresentativeNames().
| Market::getAssignedRepresentativeNames | ( | ) |
Returns a string containing the name of the reps assigned to this Market territory.
Definition at line 299 of file Market.inc.php.
References getAgentId(), DAORegistry\getDAO(), and getSupplierId().
| Market::getCountriesExcluded | ( | ) |
Get the excluded countries for this market entry
Definition at line 61 of file Market.inc.php.
References DataObject\getData().
Referenced by getTerritoriesAsString().
| Market::getCountriesIncluded | ( | ) |
Get the included countries for this market entry
Definition at line 45 of file Market.inc.php.
References DataObject\getData().
Referenced by getTerritoriesAsString().
| Market::getCurrencyCode | ( | ) |
Get the currency code (ONIX value) used for this market (List96).
Definition at line 157 of file Market.inc.php.
References DataObject\getData().
| Market::getDate | ( | ) |
Get the date for this Market.
Definition at line 141 of file Market.inc.php.
References DataObject\getData().
| Market::getDateFormat | ( | ) |
Get the date format for this Market.
Definition at line 125 of file Market.inc.php.
References DataObject\getData().
| Market::getDateRole | ( | ) |
Get the date role for this Market.
Definition at line 109 of file Market.inc.php.
References DataObject\getData().
| Market::getDiscount | ( | ) |
Get the discount.
Definition at line 189 of file Market.inc.php.
References DataObject\getData().
| Market::getPrice | ( | ) |
Get the price.
Definition at line 173 of file Market.inc.php.
References DataObject\getData().
| Market::getPriceTypeCode | ( | ) |
Get the price type code (ONIX code) used for this market (List58).
Definition at line 206 of file Market.inc.php.
References DataObject\getData().
| Market::getPublicationFormatId | ( | ) |
get publication format id
Definition at line 29 of file Market.inc.php.
References DataObject\getData().
| Market::getRegionsExcluded | ( | ) |
Get the excluded regions for this market entry
Definition at line 93 of file Market.inc.php.
References DataObject\getData().
Referenced by getTerritoriesAsString().
| Market::getRegionsIncluded | ( | ) |
Get the included regions for this market entry
Definition at line 77 of file Market.inc.php.
References DataObject\getData().
Referenced by getTerritoriesAsString().
| Market::getSupplierId | ( | ) |
Get the id of the assigned supplier, if there is one.
Definition at line 270 of file Market.inc.php.
References DataObject\getData().
Referenced by getAssignedRepresentativeNames().
| Market::getTaxRateCode | ( | ) |
Get the tax rate code (ONIX value) used for this market (List62).
Definition at line 222 of file Market.inc.php.
References DataObject\getData().
| Market::getTaxTypeCode | ( | ) |
Get the tax type code used (ONIX value) for this market (List171).
Definition at line 238 of file Market.inc.php.
References DataObject\getData().
| Market::getTerritoriesAsString | ( | ) |
Returns a string briefly describing the territories for this market
Definition at line 286 of file Market.inc.php.
References getCountriesExcluded(), getCountriesIncluded(), getRegionsExcluded(), and getRegionsIncluded().
| Market::setAgentId | ( | $agentId | ) |
Set the id of the assigned agent.
| int | $agentId |
Definition at line 262 of file Market.inc.php.
References DataObject\setData().
| Market::setCountriesExcluded | ( | $countriesExcluded | ) |
Set the excluded country list for this market entry
| $countriesExcluded | array |
Definition at line 69 of file Market.inc.php.
References DataObject\setData().
| Market::setCountriesIncluded | ( | $countriesIncluded | ) |
Set the included country list for this market entry
| $countriesIncluded | array |
Definition at line 53 of file Market.inc.php.
References DataObject\setData().
| Market::setCurrencyCode | ( | $currencyCode | ) |
Set the currency code (ONIX value) for a market.
| string | $currencyCode |
Definition at line 165 of file Market.inc.php.
References DataObject\setData().
| Market::setDate | ( | $date | ) |
Set this Market's date.
| string | $date |
Definition at line 149 of file Market.inc.php.
References DataObject\setData().
| Market::setDateFormat | ( | $dateFormat | ) |
Set the date format for this Market. (List55)
| string | $dateFormat |
Definition at line 133 of file Market.inc.php.
References DataObject\setData().
| Market::setDateRole | ( | $dateRole | ) |
Set the date role for this Market. (List163)
| String | $dateRole |
Definition at line 117 of file Market.inc.php.
References DataObject\setData().
| Market::setDiscount | ( | $discount | ) |
Set the discount.
| string | $discount |
Definition at line 197 of file Market.inc.php.
References DataObject\setData().
| Market::setPrice | ( | $price | ) |
Set the price.
| string | $price |
Definition at line 181 of file Market.inc.php.
References DataObject\setData().
| Market::setPriceTypeCode | ( | $priceTypeCode | ) |
Set the price type code (ONIX code) for a market.
| string | $priceTypeCode |
Definition at line 214 of file Market.inc.php.
References DataObject\setData().
| Market::setPublicationFormatId | ( | $publicationFormatId | ) |
set publication format id
| $pressId | int |
Definition at line 37 of file Market.inc.php.
References DataObject\setData().
| Market::setRegionsExcluded | ( | $regionsExcluded | ) |
Set the excluded region list for this market entry
| $regionsExcluded | array |
Definition at line 101 of file Market.inc.php.
References DataObject\setData().
| Market::setRegionsIncluded | ( | $regionsIncluded | ) |
Set the included region list for this market entry
| $regionsIncluded | array |
Definition at line 85 of file Market.inc.php.
References DataObject\setData().
| Market::setSupplierId | ( | $supplierId | ) |
Set the id of the assigned supplier.
| int | $supplierId |
Definition at line 278 of file Market.inc.php.
References DataObject\setData().
| Market::setTaxRateCode | ( | $taxRateCode | ) |
Set the tax rate code (ONIX value) for a market.
| string | $taxRateCode |
Definition at line 230 of file Market.inc.php.
References DataObject\setData().
| Market::setTaxTypeCode | ( | $taxTypeCode | ) |
Set the tax type code (ONIX value) for a market.
| string | $taxTypeCode |
Definition at line 246 of file Market.inc.php.
References DataObject\setData().