|
eZ Publish
[trunk]
|
Stores a price (float) More...
Inheritance diagram for eZPriceType:
Collaboration diagram for eZPriceType:Public Member Functions | |
| classAttributeContent ($classAttribute) | |
| contentActionList ($classAttribute) | |
| Return content action(s) which can be performed on object containing the current datatype. | |
| 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 18 of file ezpricetype.php.
| eZPriceType::classAttributeContent | ( | $ | classAttribute | ) |
Returns class content.
Reimplemented from eZDataType.
Definition at line 173 of file ezpricetype.php.
| eZPriceType::contentActionList | ( | $ | classAttribute | ) |
Return content action(s) which can be performed on object containing the current datatype.
Return format is array of arrays with key 'name' and 'action'. 'action' can be mapped to url in datatype.ini
| eZContentClassAttribute | $classAttribute |
Reimplemented from eZDataType.
Definition at line 188 of file ezpricetype.php.
Definition at line 28 of file ezpricetype.php.
| eZPriceType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 113 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 133 of file ezpricetype.php.
| eZPriceType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 232 of file ezpricetype.php.
| eZPriceType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 216 of file ezpricetype.php.
| eZPriceType::initializeClassAttribute | ( | $ | classAttribute | ) |
Set default class attribute value
Reimplemented from eZDataType.
Definition at line 107 of file ezpricetype.php.
| eZPriceType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
| eZPriceType::metaData | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 85 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 250 of file ezpricetype.php.
| eZPriceType::sortKey | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 205 of file ezpricetype.php.
Reimplemented from eZDataType.
Definition at line 211 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 81 of file ezpricetype.php.
Reimplemented from eZDataType.
Definition at line 316 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 200 of file ezpricetype.php.
| eZPriceType::toString | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 221 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 281 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 39 of file ezpricetype.php.
| const eZPriceType::DATA_TYPE_STRING = "ezprice" |
Definition at line 20 of file ezpricetype.php.
| const eZPriceType::EXCLUDED_VAT = 2 |
Definition at line 26 of file ezpricetype.php.
Referenced by unserializeContentClassAttribute().
| const eZPriceType::INCLUDE_VAT_FIELD = 'data_int1' |
Definition at line 21 of file ezpricetype.php.
Referenced by eZPrice\eZPrice(), and eZSimplePrice\unserializeContentClassAttribute().
| const eZPriceType::INCLUDE_VAT_VARIABLE = '_ezprice_include_vat_' |
Definition at line 22 of file ezpricetype.php.
| const eZPriceType::INCLUDED_VAT = 1 |
Definition at line 25 of file ezpricetype.php.
Referenced by unserializeContentClassAttribute().
| const eZPriceType::VAT_ID_FIELD = 'data_float1' |
Definition at line 23 of file ezpricetype.php.
Referenced by eZPrice\eZPrice(), and eZSimplePrice\unserializeContentClassAttribute().
| const eZPriceType::VAT_ID_VARIABLE = '_ezprice_vat_id_' |
Definition at line 24 of file ezpricetype.php.