PHP Interface Sulu\Component\PHPCR\SessionManager\SessionManagerInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

getContentNode() public méthode

Returns the content node for given webspace.
Deprecation: 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
Résultat PHPCR\NodeInterface

getContentPath() public méthode

Returns the content path for given webspace.
public getContentPath ( string $webspaceKey ) : string
$webspaceKey string
Résultat string

getRouteNode() public méthode

Returns the route node for given webspace.
Deprecation: 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
Résultat PHPCR\NodeInterface

getRoutePath() public méthode

Returns the route path for given webspace.
public getRoutePath ( string $webspaceKey, string $languageCode, string $segment = null ) : string
$webspaceKey string
$languageCode string
$segment string
Résultat string

getSession() public méthode

Returns a valid session to interact with a phpcr database.
Deprecation: Use the doctrine_phpcr service to retrieve the session
public getSession ( ) : PHPCR\SessionInterface
Résultat PHPCR\SessionInterface

getSnippetNode() public méthode

returns the snippet node.
Deprecation: Do not use anymore, because the node is always returned from the default session, although multiple sessions can exist
public getSnippetNode ( ) : PHPCR\NodeInterface
Résultat PHPCR\NodeInterface

getWebspaceNode() public méthode

Returns the webspace node for given webspace.
Deprecation: Do not use anymore, because the node is always returned from the default session, although multiple sessions can exist
public getWebspaceNode ( $webspaceKey ) : PHPCR\NodeInterface
Résultat PHPCR\NodeInterface

getWebspacePath() public méthode

Returns the webspace path for given webspace.
public getWebspacePath ( $webspaceKey ) : string
Résultat string