PHP 인터페이스 Sulu\Component\PHPCR\SessionManager\SessionManagerInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
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