|
eZ Publish
[4.2]
|
Stores a price (float) More...
Inheritance diagram for eZPriceType:
Collaboration diagram for eZPriceType:Public Member Functions | |
| classAttributeContent ($classAttribute) | |
| contentActionList ($classAttribute) | |
| eZPriceType () | |
| fetchClassAttributeHTTPInput ($http, $base, $classAttribute) | |
| fetchObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| fromString ($contentObjectAttribute, $string) | |
| hasObjectAttributeContent ($contentObjectAttribute) | |
| initializeClassAttribute ($classAttribute) | |
| initializeObjectAttribute ($contentObjectAttribute, $currentVersion, $originalContentObjectAttribute) | |
| metaData ($contentObjectAttribute) | |
| objectAttributeContent ($contentObjectAttribute) | |
| serializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| sortKey ($contentObjectAttribute) | |
| sortKeyType () | |
| storeObjectAttribute ($attribute) | |
| supportsBatchInitializeObjectAttribute () | |
| title ($contentObjectAttribute, $name=null) | |
| toString ($contentObjectAttribute) | |
| unserializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
Public Attributes | |
| const | DATA_TYPE_STRING = "ezprice" |
| const | EXCLUDED_VAT = 2 |
| const | INCLUDE_VAT_FIELD = 'data_int1' |
| const | INCLUDE_VAT_VARIABLE = '_ezprice_include_vat_' |
| const | INCLUDED_VAT = 1 |
| const | VAT_ID_FIELD = 'data_float1' |
| const | VAT_ID_VARIABLE = '_ezprice_vat_id_' |
Stores a price (float)
Definition at line 38 of file ezpricetype.php.
| eZPriceType::classAttributeContent | ( | $ | classAttribute | ) |
Returns class content.
Reimplemented from eZDataType.
Definition at line 193 of file ezpricetype.php.
| eZPriceType::contentActionList | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 200 of file ezpricetype.php.
| eZPriceType::eZPriceType | ( | ) |
Definition at line 48 of file ezpricetype.php.
| eZPriceType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 133 of file ezpricetype.php.
| eZPriceType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post var integer input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line 153 of file ezpricetype.php.
| eZPriceType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 242 of file ezpricetype.php.
| eZPriceType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 226 of file ezpricetype.php.
| eZPriceType::initializeClassAttribute | ( | $ | classAttribute | ) |
Set default class attribute value
Reimplemented from eZDataType.
Definition at line 127 of file ezpricetype.php.
| eZPriceType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
| eZPriceType::metaData | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 105 of file ezpricetype.php.
| eZPriceType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
| eZPriceType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented from eZDataType.
Definition at line 260 of file ezpricetype.php.
| eZPriceType::sortKey | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 215 of file ezpricetype.php.
| eZPriceType::sortKeyType | ( | ) |
Reimplemented from eZDataType.
Definition at line 221 of file ezpricetype.php.
| eZPriceType::storeObjectAttribute | ( | $ | objectAttribute | ) |
Stores the datatype data to the database which is related to the object attribute.
Reimplemented from eZDataType.
Definition at line 101 of file ezpricetype.php.
| eZPriceType::supportsBatchInitializeObjectAttribute | ( | ) |
Reimplemented from eZDataType.
Definition at line 326 of file ezpricetype.php.
| eZPriceType::title | ( | $ | objectAttribute, |
| $ | name = null |
||
| ) |
Returns the title of the current type, this is to form the title of the object.
Reimplemented from eZDataType.
Definition at line 210 of file ezpricetype.php.
| eZPriceType::toString | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 231 of file ezpricetype.php.
| eZPriceType::unserializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Extracts values from the attribute parameters and sets it in the class attribute.
Reimplemented from eZDataType.
Definition at line 291 of file ezpricetype.php.
| eZPriceType::validateObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Validates the input and returns true if the input was valid for this datatype.
Reimplemented from eZDataType.
Definition at line 59 of file ezpricetype.php.
| const eZPriceType::DATA_TYPE_STRING = "ezprice" |
Definition at line 40 of file ezpricetype.php.
| const eZPriceType::EXCLUDED_VAT = 2 |
Definition at line 46 of file ezpricetype.php.
Referenced by unserializeContentClassAttribute().
| const eZPriceType::INCLUDE_VAT_FIELD = 'data_int1' |
Definition at line 41 of file ezpricetype.php.
Referenced by eZPrice\eZPrice().
| const eZPriceType::INCLUDE_VAT_VARIABLE = '_ezprice_include_vat_' |
Definition at line 42 of file ezpricetype.php.
| const eZPriceType::INCLUDED_VAT = 1 |
Definition at line 45 of file ezpricetype.php.
Referenced by unserializeContentClassAttribute().
| const eZPriceType::VAT_ID_FIELD = 'data_float1' |
Definition at line 43 of file ezpricetype.php.
Referenced by eZPrice\eZPrice().
| const eZPriceType::VAT_ID_VARIABLE = '_ezprice_vat_id_' |
Definition at line 44 of file ezpricetype.php.