Свойство | Тип | Описание | |
---|---|---|---|
$objectManager | TYPO3\Flow\Object\ObjectManagerInterface | ||
$objectManager | TYPO3\Flow\ObjectManagement\ObjectManagerInterface | ||
$propertyMapper | TYPO3\Flow\Property\PropertyMapper |
Метод | Описание | |
---|---|---|
convert ( TYPO3\TYPO3CR\Domain\Model\NodeType $nodeType, string $propertyName, string $rawValue, TYPO3\TYPO3CR\Domain\Service\Context $context ) : mixed | Convert raw property values to the correct type according to a node type configuration |
Метод | Описание | |
---|---|---|
convertArray ( string $rawValue ) : array | Convert raw value to array | |
convertBoolean ( mixed $rawValue ) : boolean | Convert raw value to boolean | |
convertDateTime ( string $rawValue ) : DateTime | null | Convert raw value to \DateTime | |
convertInteger ( mixed $rawValue ) : integer | Convert raw value to integer | |
convertReference ( string $rawValue, TYPO3\TYPO3CR\Domain\Service\Context $context ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | Convert raw value to reference | |
convertReferences ( string $rawValue, TYPO3\TYPO3CR\Domain\Service\Context $context ) : array |
Convert raw value to references |
public convert ( TYPO3\TYPO3CR\Domain\Model\NodeType $nodeType, string $propertyName, string $rawValue, TYPO3\TYPO3CR\Domain\Service\Context $context ) : mixed | ||
$nodeType | TYPO3\TYPO3CR\Domain\Model\NodeType | |
$propertyName | string | |
$rawValue | string | |
$context | TYPO3\TYPO3CR\Domain\Service\Context | |
Результат | mixed |
protected convertArray ( string $rawValue ) : array | ||
$rawValue | string | |
Результат | array |
protected convertBoolean ( mixed $rawValue ) : boolean | ||
$rawValue | mixed | |
Результат | boolean |
protected convertDateTime ( string $rawValue ) : DateTime | null | ||
$rawValue | string | |
Результат | DateTime | null |
protected convertInteger ( mixed $rawValue ) : integer | ||
$rawValue | mixed | |
Результат | integer |
protected convertReference ( string $rawValue, TYPO3\TYPO3CR\Domain\Service\Context $context ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | ||
$rawValue | string | |
$context | TYPO3\TYPO3CR\Domain\Service\Context | |
Результат | TYPO3\TYPO3CR\Domain\Model\NodeInterface |
protected convertReferences ( string $rawValue, TYPO3\TYPO3CR\Domain\Service\Context $context ) : array |
||
$rawValue | string | |
$context | TYPO3\TYPO3CR\Domain\Service\Context | |
Результат | array |
protected ObjectManagerInterface,TYPO3\Flow\Object $objectManager | ||
Результат | TYPO3\Flow\Object\ObjectManagerInterface |
protected ObjectManagerInterface,TYPO3\Flow\ObjectManagement $objectManager | ||
Результат | TYPO3\Flow\ObjectManagement\ObjectManagerInterface |