PHP Interface Sulu\Bundle\DocumentManagerBundle\Session\SessionManagerInterface

This is especially useful if some component directly writes on nodes without using documents and drafting. It will guarantee that the data will be available on both workspaces.
Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
flush ( ) Flushes the data for all sessions.
setNodeProperty ( string $nodePath, string $propertyName, mixed $value ) Sets the property of the node at the given path for all available sessions. This means that the values saved in this way will be immediately available in all workspaces.

Method Details

flush() public method

Flushes the data for all sessions.
public flush ( )

setNodeProperty() public method

Sets the property of the node at the given path for all available sessions. This means that the values saved in this way will be immediately available in all workspaces.
public setNodeProperty ( string $nodePath, string $propertyName, mixed $value )
$nodePath string The path of the node to manipulate
$propertyName string The name of the property to set
$value mixed The value to set