메소드 | 설명 | |
---|---|---|
__construct ( Sulu\Component\DocumentManager\DocumentManager $documentManager, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\Form\FormFactoryInterface $formFactory, |
||
convertQueryResultToArray ( PHPCR\Query\QueryResultInterface $queryResult, $webspaceKey, $locales, $fields, $maxDepth, $onlyPublished = true ) | ||
copyLanguage ( $uuid, $userId, $webspaceKey, $srcLocale, $destLocales, $structureType = LegacyStructure::TYPE_PAGE ) | ||
delete ( $uuid, $webspaceKey ) | ||
getResourceLocator ( ) : Sulu\Component\Content\Types\ResourceLocatorInterface | Return the resource locator content type. | |
load ( $uuid, $webspaceKey, $locale, $loadGhostContent = false ) | ||
loadBreadcrumb ( $uuid, $locale, $webspaceKey ) | ||
loadByNode ( PHPCR\NodeInterface $node, $locale, $webspaceKey = null, $excludeGhost = true, $loadGhostContent = false, $excludeShadow = true ) | ||
loadByParent ( $uuid, $webspaceKey, $languageCode, $depth = 1, $flat = true, $ignoreExceptions = false, $excludeGhosts = false ) | ||
loadByQuery ( PHPCR\Query\QueryInterface $query, $locale, $webspaceKey = null, $excludeGhost = true, $loadGhostContent = false ) | ||
loadBySql2 ( $sql2, $locale, $webspaceKey, $limit = null ) | ||
loadNodeAndAncestors ( $uuid, $locale, $webspaceKey = null, $excludeGhost = true, $excludeShadow = true ) | ||
loadShallowStructureByNode ( PHPCR\NodeInterface $contentNode, string $localization, string $webspaceKey ) : Sulu\Component\Content\Compat\StructureInterface | Load/hydrate a shalow structure with the given node. | |
loadStartPage ( $webspaceKey, $locale ) | ||
orderAt ( $uuid, $position, $userId, $webspaceKey, $locale ) | TODO: Move this logic to the DocumentManager {@inheritdoc} | |
orderBefore ( $uuid, $beforeUuid, $userId, $webspaceKey, $locale ) | ||
saveExtension ( $uuid, $data, $extensionName, $webspaceKey, $locale, $userId ) | TODO: Refactor this . |
메소드 | 설명 | |
---|---|---|
getRootRouteNode ( $webspaceKey, string $locale, string $segment ) : PHPCR\NodeInterface | Return the node in the content repository which contains all of the routes. |
메소드 | 설명 | |
---|---|---|
documentToStructure ( DocumentInterface $document ) : StructureBridge | Return a structure bridge corresponding to the given document. | |
documentsToStructureCollection ( object[] $documents, array | null $filterOptions = null ) | Return a collection of structures for the given documents, optionally filtering according to the given options (as defined in optionsShouldExcludeDocument). | |
getContentDocument ( $webspaceKey, $locale, array $options = [] ) : Document | Return the content document (aka the home page). | |
getExtensionData ( PHPCR\NodeInterface $node, Sulu\Component\Content\Extension\ExtensionInterface $extension, $propertyName, $webspaceKey, $locale ) | Returns data for extension and property name. | |
getFieldData ( $field, |
Return data for one field. | |
getFieldsData ( |
Return extracted data (configured by fields array) from node. | |
getPropertyData ( $document, |
Returns data for property. | |
initializeExtensionCache ( ) | Initializes cache of extension data. | |
loadDocument ( $pathOrUuid, $locale, $options, $shouldExclude = true ) | ||
loadExtensionData ( PHPCR\NodeInterface $node, Sulu\Component\Content\Extension\ExtensionInterface $extension, $webspaceKey, $locale ) | load data from extension. | |
optionsShouldExcludeDocument ( $document, array $options = null ) | ||
rowToArray ( |
converts a query row to an array. |
public __construct ( Sulu\Component\DocumentManager\DocumentManager $documentManager, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\Form\FormFactoryInterface $formFactory, |
||
$documentManager | Sulu\Component\DocumentManager\DocumentManager | |
$webspaceManager | Sulu\Component\Webspace\Manager\WebspaceManagerInterface | |
$formFactory | Symfony\Component\Form\FormFactoryInterface | |
$inspector | ||
$encoder | ||
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface | |
$extensionManager | Sulu\Component\Content\Extension\ExtensionManagerInterface | |
$contentTypeManager | Sulu\Component\Content\ContentTypeManagerInterface | |
$sessionManager | Sulu\Component\PHPCR\SessionManager\SessionManagerInterface | |
$eventDispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$resourceLocatorStrategyPool | Sulu\Component\Content\Types\ResourceLocator\Strategy\ResourceLocatorStrategyPoolInterface | |
$namespaceRegistry | Sulu\Component\DocumentManager\NamespaceRegistry |
public convertQueryResultToArray ( PHPCR\Query\QueryResultInterface $queryResult, $webspaceKey, $locales, $fields, $maxDepth, $onlyPublished = true ) | ||
$queryResult | PHPCR\Query\QueryResultInterface |
public copyLanguage ( $uuid, $userId, $webspaceKey, $srcLocale, $destLocales, $structureType = LegacyStructure::TYPE_PAGE ) |
public getResourceLocator ( ) : Sulu\Component\Content\Types\ResourceLocatorInterface | ||
리턴 | Sulu\Component\Content\Types\ResourceLocatorInterface |
protected getRootRouteNode ( $webspaceKey, string $locale, string $segment ) : PHPCR\NodeInterface | ||
$webspaceKey | ||
$locale | string | |
$segment | string | |
리턴 | PHPCR\NodeInterface |
public loadByNode ( PHPCR\NodeInterface $node, $locale, $webspaceKey = null, $excludeGhost = true, $loadGhostContent = false, $excludeShadow = true ) | ||
$node | PHPCR\NodeInterface |
public loadByParent ( $uuid, $webspaceKey, $languageCode, $depth = 1, $flat = true, $ignoreExceptions = false, $excludeGhosts = false ) |
public loadByQuery ( PHPCR\Query\QueryInterface $query, $locale, $webspaceKey = null, $excludeGhost = true, $loadGhostContent = false ) | ||
$query | PHPCR\Query\QueryInterface |
public loadNodeAndAncestors ( $uuid, $locale, $webspaceKey = null, $excludeGhost = true, $excludeShadow = true ) |
public loadShallowStructureByNode ( PHPCR\NodeInterface $contentNode, string $localization, string $webspaceKey ) : Sulu\Component\Content\Compat\StructureInterface | ||
$contentNode | PHPCR\NodeInterface | |
$localization | string | |
$webspaceKey | string | |
리턴 | Sulu\Component\Content\Compat\StructureInterface |
public orderAt ( $uuid, $position, $userId, $webspaceKey, $locale ) |
public saveExtension ( $uuid, $data, $extensionName, $webspaceKey, $locale, $userId ) |