Property | Type | Description | |
---|---|---|---|
$accessRoles | array |
List of role names which are required to access this node at all | |
$contentObjectProxy | An optional object which is used as a content container alternative to $properties | ||
$creationDateTime | DateTimeInterface | ||
$hidden | boolean | If this node is hidden, it is not shown in a public place | |
$hiddenAfterDateTime | DateTimeInterface | If set, this node is automatically hidden after the specified date / time | |
$hiddenBeforeDateTime | DateTimeInterface | If set, this node is automatically hidden before the specified date / time | |
$hiddenInIndex | boolean | If this node should be hidden in indexes, such as a website navigation | |
$lastModificationDateTime | DateTimeInterface | ||
$lastPublicationDateTime | DateTimeInterface | ||
$nodeDataRepository | |||
$nodeType | string | The name of the node type of this node | |
$nodeTypeManager | |||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$properties | array |
Properties of this Node |
Method | Description | |
---|---|---|
__construct ( ) | Constructs this node data container | |
getAccessRoles ( ) : array | Returns the names of defined access roles | |
getContentObject ( ) : object | Returns the content object of this node (if any). | |
getCreationDateTime ( ) : DateTime | ||
getHiddenAfterDateTime ( ) : DateTime | Returns the date and time after which this node will be automatically hidden. | |
getHiddenBeforeDateTime ( ) : DateTime | Returns the date and time before which this node will be automatically hidden. | |
getLastModificationDateTime ( ) : DateTime | ||
getLastPublicationDateTime ( ) : DateTime | ||
getNodeType ( ) : |
Returns the node type of this node. | |
getProperties ( ) : array | Returns all properties of this node. | |
getProperty ( string $propertyName ) : mixed | Returns the specified property. | |
getPropertyNames ( ) : array | Returns the names of all properties of this node. | |
getWorkspace ( ) : |
Returns the workspace this node is contained in | |
hasProperty ( string $propertyName ) : boolean | If this node has a property with the given name. | |
isHidden ( ) : boolean | Returns the current state of the hidden flag | |
isHiddenInIndex ( ) : boolean | If this node should be hidden in indexes | |
removeProperty ( string $propertyName ) : void | Removes the specified property. | |
setAccessRoles ( array $accessRoles ) : void | Sets the roles which are required to access this node | |
setContentObject ( object $contentObject ) : void | Sets a content object for this node. | |
setHidden ( boolean $hidden ) : void | Sets the "hidden" flag for this node. | |
setHiddenAfterDateTime ( DateTimeInterface $dateTime = null ) : void | Sets the date and time when this node should be automatically hidden | |
setHiddenBeforeDateTime ( DateTimeInterface $dateTime = null ) : void | Sets the date and time when this node becomes potentially visible. | |
setHiddenInIndex ( boolean $hidden ) : void | Sets if this node should be hidden in indexes, such as a site navigation. | |
setLastPublicationDateTime ( DateTimeInterface $lastPublicationDateTime = null ) : void | ||
setNodeType ( |
Sets the node type of this node. | |
setProperty ( string $propertyName, mixed $value ) : void | Sets the specified property. | |
unsetContentObject ( ) : void | Unsets the content object of this node. |
Method | Description | |
---|---|---|
addOrUpdate ( ) : void | By default this method does not do anything. | |
persistRelatedEntities ( mixed $value ) | Checks if a property value contains an entity and persists it. | |
updateContentObject ( object $contentObject ) : void | By default this method does not do anything. |
protected addOrUpdate ( ) : void | ||
return | void |
public getAccessRoles ( ) : array | ||
return | array |
public getContentObject ( ) : object | ||
return | object | The content object or NULL if none was set |
public getHiddenAfterDateTime ( ) : DateTime | ||
return | DateTime | Date after which this node will be hidden |
public getHiddenBeforeDateTime ( ) : DateTime | ||
return | DateTime | Date before this node will be hidden or NULL if no such time was set |
public getLastModificationDateTime ( ) : DateTime | ||
return | DateTime |
public getLastPublicationDateTime ( ) : DateTime | ||
return | DateTime |
public getNodeType ( ) : |
||
return |
public getProperties ( ) : array | ||
return | array | Property values, indexed by their name |
public getProperty ( string $propertyName ) : mixed | ||
$propertyName | string | Name of the property |
return | mixed | value of the property |
public getPropertyNames ( ) : array | ||
return | array | Property names |
abstract public getWorkspace ( ) : |
||
return |
public hasProperty ( string $propertyName ) : boolean | ||
$propertyName | string | Name of the property to test for |
return | boolean |
public isHiddenInIndex ( ) : boolean | ||
return | boolean |
protected persistRelatedEntities ( mixed $value ) | ||
$value | mixed |
public removeProperty ( string $propertyName ) : void | ||
$propertyName | string | Name of the property |
return | void |
public setAccessRoles ( array $accessRoles ) : void | ||
$accessRoles | array | |
return | void |
public setContentObject ( object $contentObject ) : void | ||
$contentObject | object | The content object |
return | void |
public setHiddenAfterDateTime ( DateTimeInterface $dateTime = null ) : void | ||
$dateTime | DateTimeInterface | Date after which this node should be hidden or NULL if no such time was set |
return | void |
public setHiddenBeforeDateTime ( DateTimeInterface $dateTime = null ) : void | ||
$dateTime | DateTimeInterface | Date before this node should be hidden |
return | void |
public setHiddenInIndex ( boolean $hidden ) : void | ||
$hidden | boolean | TRUE if it should be hidden, otherwise FALSE |
return | void |
public setLastPublicationDateTime ( DateTimeInterface $lastPublicationDateTime = null ) : void | ||
$lastPublicationDateTime | DateTimeInterface | |
return | void |
public setNodeType ( |
||
$nodeType | ||
return | void |
public unsetContentObject ( ) : void | ||
return | void |
protected updateContentObject ( object $contentObject ) : void | ||
$contentObject | object | |
return | void |
protected array |
||
return | array |
protected ContentObjectProxy,Neos\ContentRepository\Domain\Model $contentObjectProxy | ||
return |
protected DateTimeInterface $creationDateTime | ||
return | DateTimeInterface |
protected DateTimeInterface $lastModificationDateTime | ||
return | DateTimeInterface |
protected DateTimeInterface $lastPublicationDateTime | ||
return | DateTimeInterface |
protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository | ||
return |
protected string $nodeType | ||
return | string |
protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager | ||
return |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
return | Neos\Flow\Persistence\PersistenceManagerInterface |