|
eZ Publish
[trunk]
|
The class eZMatrixType does. More...
Inheritance diagram for eZMatrixType:
Collaboration diagram for eZMatrixType:Public Member Functions | |
| batchInitializeObjectAttributeData ($classAttribute) | |
| classAttributeContent ($contentClassAttribute) | |
| customClassAttributeHTTPAction ($http, $action, $contentClassAttribute) | |
| customObjectAttributeHTTPAction ($http, $action, $contentObjectAttribute, $parameters) | |
| eZMatrixType () | |
| fetchClassAttributeHTTPInput ($http, $base, $classAttribute) | |
| fetchObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| fromString ($contentObjectAttribute, $string) | |
| hasObjectAttributeContent ($contentObjectAttribute) | |
| initializeObjectAttribute ($contentObjectAttribute, $currentVersion, $originalContentObjectAttribute) | |
| isIndexable () | |
| metaData ($contentObjectAttribute) | |
| objectAttributeContent ($contentObjectAttribute) | |
| preStoreClassAttribute ($classAttribute, $version) | |
| serializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| serializeContentObjectAttribute ($package, $objectAttribute) | |
| storeClassAttribute ($contentClassAttribute, $version) | |
| storeObjectAttribute ($contentObjectAttribute) | |
| supportsBatchInitializeObjectAttribute () | |
| title ($contentObjectAttribute, $name= 'name') | |
| toString ($contentObjectAttribute) | |
| unserializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| unserializeContentObjectAttribute ($package, $objectAttribute, $attributeNode) | |
| validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
Public Attributes | |
| const | CELL_VARIABLE = '_ezmatrix_cell_' |
| const | DATA_TYPE_STRING = 'ezmatrix' |
| const | DEFAULT_NAME_VARIABLE = '_ezmatrix_default_name_' |
| const | NUM_COLUMNS_VARIABLE = '_ezmatrix_default_num_columns_' |
| const | NUM_ROWS_VARIABLE = '_ezmatrix_default_num_rows_' |
The class eZMatrixType does.
Definition at line 18 of file ezmatrixtype.php.
| eZMatrixType::batchInitializeObjectAttributeData | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 510 of file ezmatrixtype.php.
| eZMatrixType::classAttributeContent | ( | $ | contentClassAttribute | ) |
Returns the content.
Reimplemented from eZDataType.
Definition at line 345 of file ezmatrixtype.php.
| eZMatrixType::customClassAttributeHTTPAction | ( | $ | http, |
| $ | action, | ||
| $ | classAttribute | ||
| ) |
Executes a custom action for a class attribute which was defined on the web page.
Reimplemented from eZDataType.
Definition at line 352 of file ezmatrixtype.php.
| eZMatrixType::customObjectAttributeHTTPAction | ( | $ | http, |
| $ | action, | ||
| $ | objectAttribute, | ||
| $ | parameters | ||
| ) |
Executes a custom action for an object attribute which was defined on the web page.
Reimplemented from eZDataType.
Definition at line 149 of file ezmatrixtype.php.
Constructor
Definition at line 30 of file ezmatrixtype.php.
| eZMatrixType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 246 of file ezmatrixtype.php.
| eZMatrixType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post var matrix cells input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line 129 of file ezmatrixtype.php.
| eZMatrixType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 407 of file ezmatrixtype.php.
| eZMatrixType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 92 of file ezmatrixtype.php.
| eZMatrixType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Sets the default value.
Reimplemented from eZDataType.
Definition at line 220 of file ezmatrixtype.php.
Reimplemented from eZDataType.
Definition at line 383 of file ezmatrixtype.php.
| eZMatrixType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 108 of file ezmatrixtype.php.
| eZMatrixType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
| eZMatrixType::preStoreClassAttribute | ( | $ | classAttribute, |
| $ | version | ||
| ) |
Similar to the storeClassAttribute but is called before the attribute itself is stored and can be used to set values in the class attribute.
Reimplemented from eZDataType.
Definition at line 336 of file ezmatrixtype.php.
| eZMatrixType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented from eZDataType.
Definition at line 436 of file ezmatrixtype.php.
| eZMatrixType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| objectAttribute | content attribute |
Reimplemented from eZDataType.
Definition at line 485 of file ezmatrixtype.php.
| eZMatrixType::storeClassAttribute | ( | $ | classAttribute, |
| $ | version | ||
| ) |
Stores the datatype data to the database which is related to the class attribute. The $version parameter determines which version is currently being stored, 0 is the real version while 1 is the temporary version.
Reimplemented from eZDataType.
Definition at line 72 of file ezmatrixtype.php.
| eZMatrixType::storeObjectAttribute | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 505 of file ezmatrixtype.php.
| eZMatrixType::title | ( | $ | contentObjectAttribute, |
| $ | name = 'name' |
||
| ) |
Returns the integer value.
Reimplemented from eZDataType.
Definition at line 208 of file ezmatrixtype.php.
| eZMatrixType::toString | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 392 of file ezmatrixtype.php.
| eZMatrixType::unserializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Extracts values from the attribute parameters and sets it in the class attribute.
Reimplemented from eZDataType.
Definition at line 466 of file ezmatrixtype.php.
| eZMatrixType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
Unserialize contentobject attribute
| package | |
| objectAttribute | contentobject attribute object |
| attributeNode | ezdomnode object |
Reimplemented from eZDataType.
Definition at line 498 of file ezmatrixtype.php.
| eZMatrixType::validateObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Validates the input and returns true if the input was valid for this datatype.
Reimplemented from eZDataType.
Definition at line 40 of file ezmatrixtype.php.
| const eZMatrixType::CELL_VARIABLE = '_ezmatrix_cell_' |
Definition at line 24 of file ezmatrixtype.php.
| const eZMatrixType::DATA_TYPE_STRING = 'ezmatrix' |
Definition at line 25 of file ezmatrixtype.php.
| const eZMatrixType::DEFAULT_NAME_VARIABLE = '_ezmatrix_default_name_' |
Definition at line 20 of file ezmatrixtype.php.
| const eZMatrixType::NUM_COLUMNS_VARIABLE = '_ezmatrix_default_num_columns_' |
Definition at line 22 of file ezmatrixtype.php.
| const eZMatrixType::NUM_ROWS_VARIABLE = '_ezmatrix_default_num_rows_' |
Definition at line 23 of file ezmatrixtype.php.