PHP Класс Neos\ContentRepository\Domain\Model\ContentObjectProxy

This class is never used directly in userland but is instantiated automatically through setContentObject() in AbstractNodeData.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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