|
eZ Publish
[4.2]
|
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 41 of file ezmatrixtype.php.
| eZMatrixType::batchInitializeObjectAttributeData | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 533 of file ezmatrixtype.php.
| eZMatrixType::classAttributeContent | ( | $ | contentClassAttribute | ) |
Returns the content.
Reimplemented from eZDataType.
Definition at line 368 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 375 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 172 of file ezmatrixtype.php.
| eZMatrixType::eZMatrixType | ( | ) |
Constructor
Definition at line 53 of file ezmatrixtype.php.
| eZMatrixType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 269 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 152 of file ezmatrixtype.php.
| eZMatrixType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 430 of file ezmatrixtype.php.
| eZMatrixType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 115 of file ezmatrixtype.php.
| eZMatrixType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Sets the default value.
Reimplemented from eZDataType.
Definition at line 243 of file ezmatrixtype.php.
| eZMatrixType::isIndexable | ( | ) |
Reimplemented from eZDataType.
Definition at line 406 of file ezmatrixtype.php.
| eZMatrixType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 131 of file ezmatrixtype.php.
| eZMatrixType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
Returns the content.
Reimplemented from eZDataType.
Definition at line 106 of file ezmatrixtype.php.
| 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 359 of file ezmatrixtype.php.
| eZMatrixType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented from eZDataType.
Definition at line 459 of file ezmatrixtype.php.
| eZMatrixType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| objectAttribute | content attribute |
Reimplemented from eZDataType.
Definition at line 508 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 95 of file ezmatrixtype.php.
| eZMatrixType::storeObjectAttribute | ( | $ | contentObjectAttribute | ) |
| eZMatrixType::supportsBatchInitializeObjectAttribute | ( | ) |
Reimplemented from eZDataType.
Definition at line 528 of file ezmatrixtype.php.
| eZMatrixType::title | ( | $ | contentObjectAttribute, |
| $ | name = 'name' |
||
| ) |
Returns the integer value.
Reimplemented from eZDataType.
Definition at line 231 of file ezmatrixtype.php.
| eZMatrixType::toString | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 415 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 489 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 521 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 63 of file ezmatrixtype.php.
| const eZMatrixType::CELL_VARIABLE = '_ezmatrix_cell_' |
Definition at line 47 of file ezmatrixtype.php.
| const eZMatrixType::DATA_TYPE_STRING = 'ezmatrix' |
Definition at line 48 of file ezmatrixtype.php.
| const eZMatrixType::DEFAULT_NAME_VARIABLE = '_ezmatrix_default_name_' |
Definition at line 43 of file ezmatrixtype.php.
| const eZMatrixType::NUM_COLUMNS_VARIABLE = '_ezmatrix_default_num_columns_' |
Definition at line 45 of file ezmatrixtype.php.
| const eZMatrixType::NUM_ROWS_VARIABLE = '_ezmatrix_default_num_rows_' |
Definition at line 46 of file ezmatrixtype.php.