메소드 | 설명 | |
---|---|---|
__construct ( PHPCR\SessionInterface $session, string $languageNamespace, array $paths ) | ||
extractSnippetTypeFromPath ( string $path ) : string | Extract the snippet path from the given path. | |
extractWebspaceFromPath ( string $path ) : string | Extracts webspace key from given path. | |
getLanguagesForNode ( PHPCR\NodeInterface $node ) : array | Return the languages that are currently registered on the given PHPCR node. | |
getLocalizedPropertyValues ( PHPCR\NodeInterface $node, string $name ) | Return all the localized values of the localized property indicated by $name. | |
getNextNode ( PHPCR\NodeInterface $node ) | Return the next node of the given node. | |
getPreviousNode ( PHPCR\NodeInterface $node ) | Return the previous node of the given node. | |
getStructureTypeForNode ( PHPCR\NodeInterface $node ) : string | Return the structure type for the given node. | |
getTranslatedProperty ( Sulu\Component\Content\Compat\PropertyInterface $property, string $locale, string $prefix = null ) : Sulu\Component\Content\Compat\PropertyInterface | Return translated property. | |
getTranslatedPropertyName ( string $propertyName, string $locale ) : string | Return translated property name. | |
hasSuluNodeType ( PHPCR\NodeInterface $node, string | array $suluNodeTypes ) : boolean | Return true if the given node has the given nodeType property (or properties). |
메소드 | 설명 | |
---|---|---|
getPath ( string $name ) : string | Return the configured named path segment. | |
getSiblingNode ( PHPCR\NodeInterface $node, boolean $previous = false ) : PHPCR\NodeInterface | null | Return either the next or previous sibling of the given node according to the $previous flag. |
public __construct ( PHPCR\SessionInterface $session, string $languageNamespace, array $paths ) | ||
$session | PHPCR\SessionInterface | |
$languageNamespace | string | |
$paths | array | Path segments from configuration |
public extractSnippetTypeFromPath ( string $path ) : string | ||
$path | string | |
리턴 | string |
public extractWebspaceFromPath ( string $path ) : string | ||
$path | string | path of node |
리턴 | string |
public getLanguagesForNode ( PHPCR\NodeInterface $node ) : array | ||
$node | PHPCR\NodeInterface | |
리턴 | array |
public getLocalizedPropertyValues ( PHPCR\NodeInterface $node, string $name ) | ||
$node | PHPCR\NodeInterface | |
$name | string | Name of localized property |
public getNextNode ( PHPCR\NodeInterface $node ) | ||
$node | PHPCR\NodeInterface |
public getPreviousNode ( PHPCR\NodeInterface $node ) | ||
$node | PHPCR\NodeInterface |
public getStructureTypeForNode ( PHPCR\NodeInterface $node ) : string | ||
$node | PHPCR\NodeInterface | |
리턴 | string |
public getTranslatedProperty ( Sulu\Component\Content\Compat\PropertyInterface $property, string $locale, string $prefix = null ) : Sulu\Component\Content\Compat\PropertyInterface | ||
$property | Sulu\Component\Content\Compat\PropertyInterface | |
$locale | string | |
$prefix | string | |
리턴 | Sulu\Component\Content\Compat\PropertyInterface |