Property | Type | Description | |
---|---|---|---|
$contextFactory | TYPO3\TYPO3CR\Domain\Service\ContextFactoryInterface | ||
$domainRepository | TYPO3\Neos\Domain\Repository\DomainRepository | ||
$siteRepository | TYPO3\Neos\Domain\Repository\SiteRepository |
Method | Description | |
---|---|---|
getClosestDocument ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | Helper method to retrieve the closest document for a node | |
getNodeFromContextPath ( string $contextPath, TYPO3\Neos\Domain\Model\Site $site = null, TYPO3\Neos\Domain\Model\Domain $domain = null ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | Converts a given context path to a node object | |
isDocument ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : boolean | Helper method to check if a given node is a document node. |
Method | Description | |
---|---|---|
prepareContextProperties ( string $workspaceName, array $dimensions = null ) : array | Prepares the context properties for the nodes based on the given workspace and dimensions |
public getClosestDocument ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | ||
$node | TYPO3\TYPO3CR\Domain\Model\NodeInterface | |
return | TYPO3\TYPO3CR\Domain\Model\NodeInterface |
public getNodeFromContextPath ( string $contextPath, TYPO3\Neos\Domain\Model\Site $site = null, TYPO3\Neos\Domain\Model\Domain $domain = null ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | ||
$contextPath | string | |
$site | TYPO3\Neos\Domain\Model\Site | |
$domain | TYPO3\Neos\Domain\Model\Domain | |
return | TYPO3\TYPO3CR\Domain\Model\NodeInterface |
public isDocument ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : boolean | ||
$node | TYPO3\TYPO3CR\Domain\Model\NodeInterface | The node to check |
return | boolean | A boolean which indicates if the given node is a document node. |
protected ContextFactoryInterface,TYPO3\TYPO3CR\Domain\Service $contextFactory | ||
return | TYPO3\TYPO3CR\Domain\Service\ContextFactoryInterface |
protected DomainRepository,TYPO3\Neos\Domain\Repository $domainRepository | ||
return | TYPO3\Neos\Domain\Repository\DomainRepository |