메소드 | 설명 | |
---|---|---|
__construct ( Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Component\DocumentManager\PropertyEncoder $propertyEncoder, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\Content\Compat\LocalizationFinderInterface $localizationFinder, Sulu\Component\Content\Compat\StructureManagerInterface $structureManager, |
||
find ( $uuid, $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
findAll ( $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
findAllByPortal ( $locale, $portalKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
findByParentUuid ( $uuid, $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
findByPaths ( array $paths, $locale, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
findByUuids ( array $uuids, $locale, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
findByWebspaceRoot ( $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
findParentsWithSiblingsByUuid ( $uuid, $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
resolveInternalLinkContent ( |
Resolve a single result row which is an internal link to a content object. |
메소드 | 설명 | |
---|---|---|
appendMapping ( PHPCR\Util\QOM\QueryBuilder $queryBuilder, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, string $locale, string[] $locales ) | Append mapping selects to given query-builder. | |
appendSingleMapping ( PHPCR\Util\QOM\QueryBuilder $queryBuilder, string $propertyName, string[] $locales ) | Append mapping selects for a single property to given query-builder. | |
appendUrlMapping ( PHPCR\Util\QOM\QueryBuilder $queryBuilder, string[] $locales ) | Append mapping for url to given query-builder. | |
generateTreeByPath ( array $contents ) : |
Generates a content-tree with paths of given content array. | |
getLocales ( ) : string[] | Returns array of locales for webspaces. | |
getLocalesByPortalKey ( string $portalKey ) : string[] | Returns array of locales for given portal key. | |
getLocalesByWebspaceKey ( string $webspaceKey ) : string[] | Returns array of locales for given webspace key. | |
getQueryBuilder ( string $locale, string[] $locales, Sulu\Component\Security\Authentication\UserInterface $user = null ) : PHPCR\Util\QOM\QueryBuilder | Returns QueryBuilder with basic select and where statements. | |
resolveAvailableLocales ( |
Resolves all available localizations for given row. | |
resolveContent ( |
Resolve a single result row to a content object. | |
resolveHasChildren ( |
Resolve property has-children with given node. | |
resolvePath ( |
Resolves path for given row. | |
resolvePathByUuid ( string $uuid ) : string | Resolve path for node with given uuid. | |
resolvePermissions ( |
Resolves permissions for given user. | |
resolveProperty ( |
Resolve a property and follow shadow locale if it has one. | |
resolveQueryBuilder ( PHPCR\Util\QOM\QueryBuilder $queryBuilder, string $locale, $locales, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) : |
Resolves query results to content. | |
resolveUrl ( |
Resolve url property. |
public __construct ( Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Component\DocumentManager\PropertyEncoder $propertyEncoder, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\Content\Compat\LocalizationFinderInterface $localizationFinder, Sulu\Component\Content\Compat\StructureManagerInterface $structureManager, |
||
$sessionManager | Sulu\Component\PHPCR\SessionManager\SessionManagerInterface | |
$propertyEncoder | Sulu\Component\DocumentManager\PropertyEncoder | |
$webspaceManager | Sulu\Component\Webspace\Manager\WebspaceManagerInterface | |
$localizationFinder | Sulu\Component\Content\Compat\LocalizationFinderInterface | |
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface | |
$nodeHelper |
public find ( $uuid, $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface |
public findAll ( $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface |
public findAllByPortal ( $locale, $portalKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface |
public findByParentUuid ( $uuid, $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface |
public findByPaths ( array $paths, $locale, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
$paths | array | |
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface |
public findByUuids ( array $uuids, $locale, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
$uuids | array | |
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface |
public findByWebspaceRoot ( $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface |
public findParentsWithSiblingsByUuid ( $uuid, $locale, $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) | ||
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface |
public resolveInternalLinkContent ( |
||
$row | ||
$locale | string | |
$webspaceKey | string | |
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | Includes array of property names |
$type | ||
$user | Sulu\Component\Security\Authentication\UserInterface | |
리턴 |