Метод | Описание | |
---|---|---|
create ( ) : eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\DateAndTime | Factory for current class. | |
getIndexColumn ( ) : string | Returns the name of the index column in the attribute table. | |
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. |
Метод | Описание | |
---|---|---|
generateDateIntervalXML ( DateInterval $dateInterval ) : string | Generates the internal XML structure for $dateInterval, used for date adjustment. | |
getDateIntervalFromXML ( string $xmlText ) : DateInterval | Generates a DateInterval object from $xmlText. |
public static create ( ) : eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\DateAndTime | ||
Результат | eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\DateAndTime |
protected generateDateIntervalXML ( DateInterval $dateInterval ) : string | ||
$dateInterval | DateInterval | |
Результат | string | The generated XML string |
protected getDateIntervalFromXML ( string $xmlText ) : DateInterval | ||
$xmlText | string | |
Результат | DateInterval |
public getIndexColumn ( ) : string | ||
Результат | string |
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 |