PHP Интерфейс Sulu\Component\PHPCR\SessionManager\SessionManagerInterface

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getContentNode ( string $webspaceKey ) : PHPCR\NodeInterface Returns the content node for given webspace.
getContentPath ( string $webspaceKey ) : string Returns the content path for given webspace.
getRouteNode ( string $webspaceKey, string $languageCode, string $segment = null ) : PHPCR\NodeInterface Returns the route node for given webspace.
getRoutePath ( string $webspaceKey, string $languageCode, string $segment = null ) : string Returns the route path for given webspace.
getSession ( ) : PHPCR\SessionInterface Returns a valid session to interact with a phpcr database.
getSnippetNode ( ) : PHPCR\NodeInterface returns the snippet node.
getWebspaceNode ( $webspaceKey ) : PHPCR\NodeInterface Returns the webspace node for given webspace.
getWebspacePath ( $webspaceKey ) : string Returns the webspace path for given webspace.

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

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

Returns the content node for given webspace.
Устаревший: Do not use anymore, because the node is always returned from the default session, although multiple sessions can exist
public getContentNode ( string $webspaceKey ) : PHPCR\NodeInterface
$webspaceKey string
Результат PHPCR\NodeInterface

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

Returns the content path for given webspace.
public getContentPath ( string $webspaceKey ) : string
$webspaceKey string
Результат string

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

Returns the route node for given webspace.
Устаревший: Do not use anymore, because the node is always returned from the default session, although multiple sessions can exist
public getRouteNode ( string $webspaceKey, string $languageCode, string $segment = null ) : PHPCR\NodeInterface
$webspaceKey string
$languageCode string
$segment string
Результат PHPCR\NodeInterface

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

Returns the route path for given webspace.
public getRoutePath ( string $webspaceKey, string $languageCode, string $segment = null ) : string
$webspaceKey string
$languageCode string
$segment string
Результат string

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

Returns a valid session to interact with a phpcr database.
Устаревший: Use the doctrine_phpcr service to retrieve the session
public getSession ( ) : PHPCR\SessionInterface
Результат PHPCR\SessionInterface

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

returns the snippet node.
Устаревший: Do not use anymore, because the node is always returned from the default session, although multiple sessions can exist
public getSnippetNode ( ) : PHPCR\NodeInterface
Результат PHPCR\NodeInterface

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

Returns the webspace node for given webspace.
Устаревший: Do not use anymore, because the node is always returned from the default session, although multiple sessions can exist
public getWebspaceNode ( $webspaceKey ) : PHPCR\NodeInterface
Результат PHPCR\NodeInterface

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

Returns the webspace path for given webspace.
public getWebspacePath ( $webspaceKey ) : string
Результат string