PHP Интерфейс 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.
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

flush() публичный Метод

Flushes the data for all sessions.
public flush ( )

setNodeProperty() публичный Метод

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