ContentObjectProxy
class ContentObjectProxy (View source)
A Content Object Proxy object to connect domain models to nodes
This class is never used directly in userland but is instantiated automatically through setContentObject() in AbstractNodeData.
Properties
protected PersistenceManagerInterface | $persistenceManager | ||
protected string | $targetType | Type of the target model |
|
protected string | $targetId | Technical identifier of the target object |
|
protected object | $contentObject |
Methods
Constructs this content type
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.
Returns the real object this proxy stands for
Details
__construct(object $contentObject)
Constructs this content type
protected void
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.
object
getObject()
Returns the real object this proxy stands for