PHP 클래스 Neos\Flow\Persistence\Doctrine\DataTypes\ObjectArray

상속: extends Doctrine\DBAL\Types\ArrayType
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$reflectionService Neos\Flow\Reflection\ReflectionService

공개 메소드들

메소드 설명
convertToDatabaseValue ( array $array, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : mixed Converts a value from its PHP representation to its database representation of this type.
convertToPHPValue ( mixed $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : array Converts a value from its database representation to its PHP representation of this type.
getBindingType ( ) : integer Gets the (preferred) binding type for values of this type that can be used when binding parameters to prepared statements.
getName ( ) : string Gets the name of this type.
getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string Gets the SQL declaration snippet for a field of this type.

보호된 메소드들

메소드 설명
decodeObjectReferences ( array &$array ) : void Traverses the $array and replaces known persisted objects (tuples of type and identifier) with actual instances.
encodeObjectReferences ( array &$array ) : void Traverses the $array and replaces known persisted objects with a tuple of type and identifier.
initializeDependencies ( ) : void Fetches dependencies from the static object manager.

메소드 상세

convertToDatabaseValue() 공개 메소드

Converts a value from its PHP representation to its database representation of this type.
public convertToDatabaseValue ( array $array, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : mixed
$array array The value to convert.
$platform Doctrine\DBAL\Platforms\AbstractPlatform The currently used database platform.
리턴 mixed The database representation of the value.

convertToPHPValue() 공개 메소드

Converts a value from its database representation to its PHP representation of this type.
public convertToPHPValue ( mixed $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : array
$value mixed The value to convert.
$platform Doctrine\DBAL\Platforms\AbstractPlatform The currently used database platform.
리턴 array The PHP representation of the value.

decodeObjectReferences() 보호된 메소드

Traverses the $array and replaces known persisted objects (tuples of type and identifier) with actual instances.
protected decodeObjectReferences ( array &$array ) : void
$array array
리턴 void

encodeObjectReferences() 보호된 메소드

Traverses the $array and replaces known persisted objects with a tuple of type and identifier.
protected encodeObjectReferences ( array &$array ) : void
$array array
리턴 void

getBindingType() 공개 메소드

Gets the (preferred) binding type for values of this type that can be used when binding parameters to prepared statements.
public getBindingType ( ) : integer
리턴 integer

getName() 공개 메소드

Gets the name of this type.
public getName ( ) : string
리턴 string

getSQLDeclaration() 공개 메소드

Gets the SQL declaration snippet for a field of this type.
public getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string
$fieldDeclaration array
$platform Doctrine\DBAL\Platforms\AbstractPlatform
리턴 string

initializeDependencies() 보호된 메소드

Injection cannot be used, since __construct on Types\Type is final.
protected initializeDependencies ( ) : void
리턴 void

프로퍼티 상세

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

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
리턴 Neos\Flow\Persistence\PersistenceManagerInterface

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

protected ReflectionService,Neos\Flow\Reflection $reflectionService
리턴 Neos\Flow\Reflection\ReflectionService