메소드 | 설명 | |
---|---|---|
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 |