Метод | Описание | |
---|---|---|
generateXmlString ( |
Generates XML string from $page object to be stored in storage engine. | |
getIndexColumn ( ) : string | Returns the name of the index column in the attribute table. | |
restoreValueFromXmlString ( string $xmlString ) : |
Restores value from XML string. | |
toFieldDefinition ( |
Converts field definition data in $storageDef into $fieldDef. | |
toFieldValue ( |
Converts data from $value to $fieldValue. | |
toStorageFieldDefinition ( eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDef, |
Converts field definition data in $fieldDef into $storageFieldDef. | |
toStorageValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $value, |
Converts data from $value to $storageFieldValue. |
Метод | Описание | |
---|---|---|
generateBlockXmlString ( |
Generates XML string for a given $block object. | |
generateItemXmlString ( |
Generates XML string for a given $item object. | |
generateZoneXmlString ( |
Generates XML string for a given $zone object. | |
restoreBlockFromXml ( DOMElement $node ) : |
Restores value for a given Block $node. | |
restoreItemFromXml ( DOMElement $node ) : |
Restores value for a given Item $node. | |
restoreZoneFromXml ( DOMElement $node ) : |
Restores value for a given Zone $node. |
Метод | Описание | |
---|---|---|
addNewNotEmptyXmlElement ( DOMDocument $dom, DOMElement $node, string $name, string $value ) | Utility method to add new elements to an xml node if their value is not empty. | |
addNewXmlElement ( DOMDocument $dom, DOMElement $node, string $name, string $value ) | Utility method to add new elements to an xml node. |
protected generateBlockXmlString ( |
||
$block | ||
$dom | DOMDocument | |
Результат | DOMElement |
protected generateItemXmlString ( |
||
$item | ||
$dom | DOMDocument | |
Результат | boolean | DOMElement |
public generateXmlString ( |
||
$page | ||
Результат | string |
protected generateZoneXmlString ( |
||
$zone | ||
$dom | DOMDocument | |
Результат | DOMElement |
public getIndexColumn ( ) : string | ||
Результат | string |
protected restoreBlockFromXml ( DOMElement $node ) : |
||
$node | DOMElement | |
Результат |
protected restoreItemFromXml ( DOMElement $node ) : |
||
$node | DOMElement | |
Результат |
public restoreValueFromXmlString ( string $xmlString ) : |
||
$xmlString | string | |
Результат |
protected restoreZoneFromXml ( DOMElement $node ) : |
||
$node | DOMElement | |
Результат |
public toFieldDefinition ( |
||
$storageDef | ||
$fieldDef | eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition |
public toFieldValue ( |
||
$value | ||
$fieldValue | eZ\Publish\SPI\Persistence\Content\FieldValue |
public toStorageFieldDefinition ( eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDef, |
||
$fieldDef | eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition | |
$storageDef |
public toStorageValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $value, |
||
$value | eZ\Publish\SPI\Persistence\Content\FieldValue | |
$storageFieldValue |