PHP 클래스 Neos\ContentRepository\Domain\Model\ContentObjectProxy

This class is never used directly in userland but is instantiated automatically through setContentObject() in AbstractNodeData.
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$contentObject object
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$targetId string Technical identifier of the target object
$targetType string Type of the target model

공개 메소드들

메소드 설명
__construct ( object $contentObject ) Constructs this content type
getObject ( ) : object Returns the real object this proxy stands for

보호된 메소드들

메소드 설명
initializeObject ( ) : void Fetches the identifier from the set content object. If that is not using automatically introduced UUIDs by Flow it tries to call persistAll() and fetch the identifier again. If it still fails, an exception is thrown.

메소드 상세

__construct() 공개 메소드

Constructs this content type
public __construct ( object $contentObject )
$contentObject object The content object that should be represented by this proxy

getObject() 공개 메소드

Returns the real object this proxy stands for
public getObject ( ) : object
리턴 object The "content object" as it was originally passed to the constructor

initializeObject() 보호된 메소드

Fetches the identifier from the set content object. If that is not using automatically introduced UUIDs by Flow it tries to call persistAll() and fetch the identifier again. If it still fails, an exception is thrown.
protected initializeObject ( ) : void
리턴 void

프로퍼티 상세

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

protected object $contentObject
리턴 object

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

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

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

Technical identifier of the target object
protected string $targetId
리턴 string

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

Type of the target model
protected string $targetType
리턴 string