PHP 클래스 Neos\Neos\Ui\Domain\Service\NodePropertyConversionService

파일 보기 프로젝트 열기: neos/neos-ui 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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

메소드 상세

convert() 공개 메소드

Convert raw property values to the correct type according to a node type configuration
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

convertArray() 보호된 메소드

Convert raw value to array
protected convertArray ( string $rawValue ) : array
$rawValue string
리턴 array

convertBoolean() 보호된 메소드

Convert raw value to boolean
protected convertBoolean ( mixed $rawValue ) : boolean
$rawValue mixed
리턴 boolean

convertDateTime() 보호된 메소드

Convert raw value to \DateTime
protected convertDateTime ( string $rawValue ) : DateTime | null
$rawValue string
리턴 DateTime | null

convertInteger() 보호된 메소드

Convert raw value to integer
protected convertInteger ( mixed $rawValue ) : integer
$rawValue mixed
리턴 integer

convertReference() 보호된 메소드

Convert raw value to reference
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

convertReferences() 보호된 메소드

Convert raw value to references
protected convertReferences ( string $rawValue, TYPO3\TYPO3CR\Domain\Service\Context $context ) : array
$rawValue string
$context TYPO3\TYPO3CR\Domain\Service\Context
리턴 array

프로퍼티 상세

$objectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,TYPO3\Flow\Object $objectManager
리턴 TYPO3\Flow\Object\ObjectManagerInterface

$objectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,TYPO3\Flow\ObjectManagement $objectManager
리턴 TYPO3\Flow\ObjectManagement\ObjectManagerInterface

$propertyMapper 보호되어 있는 프로퍼티

protected PropertyMapper,TYPO3\Flow\Property $propertyMapper
리턴 TYPO3\Flow\Property\PropertyMapper