PHP 클래스 Neos\Neos\Ui\Domain\Service\NodeTreeBuilder

파일 보기 프로젝트 열기: neos/neos-ui 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$active TYPO3\TYPO3CR\Domain\Model\NodeInterface The currently active node in the tree
$controllerContext TYPO3\Flow\Mvc\Controller\ControllerContext
$depth integer Determines how many levels of the tree should be loaded
$linkingService TYPO3\Neos\Service\LinkingService
$nodeService Neos\Neos\Ui\TYPO3CR\Service\NodeService
$nodeTypeFilter string | null An (optional) node type filter
$root TYPO3\TYPO3CR\Domain\Model\NodeInterface The site node
$searchTermFilter string An (optional) search term filter

공개 메소드들

메소드 설명
build ( $includeRoot = false, $root = null, $depth = null ) : array Build a json serializable tree structure containing node information
getRoot ( ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface Get the root node
setActive ( string $activeContextPath ) : void Set the active node
setControllerContext ( TYPO3\Flow\Mvc\Controller\ControllerContext $controllerContext ) : void Set the controller context
setDepth ( integer $depth ) Set the depth
setNodeTypeFilter ( string $nodeTypeFilter ) : void Set the node type filter
setRoot ( string $rootContextPath ) : void Set the root node
setSearchTermFilter ( string $searchTermFilter ) : void Set the search term filter

보호된 메소드들

메소드 설명
isInRootLine ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $haystack = null, TYPO3\TYPO3CR\Domain\Model\NodeInterface $needle )

메소드 상세

build() 공개 메소드

Build a json serializable tree structure containing node information
public build ( $includeRoot = false, $root = null, $depth = null ) : array
리턴 array

getRoot() 공개 메소드

Get the root node
public getRoot ( ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface
리턴 TYPO3\TYPO3CR\Domain\Model\NodeInterface

isInRootLine() 보호된 메소드

protected isInRootLine ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $haystack = null, TYPO3\TYPO3CR\Domain\Model\NodeInterface $needle )
$haystack TYPO3\TYPO3CR\Domain\Model\NodeInterface
$needle TYPO3\TYPO3CR\Domain\Model\NodeInterface

setActive() 공개 메소드

Set the active node
public setActive ( string $activeContextPath ) : void
$activeContextPath string
리턴 void

setControllerContext() 공개 메소드

Set the controller context
public setControllerContext ( TYPO3\Flow\Mvc\Controller\ControllerContext $controllerContext ) : void
$controllerContext TYPO3\Flow\Mvc\Controller\ControllerContext
리턴 void

setDepth() 공개 메소드

Set the depth
public setDepth ( integer $depth )
$depth integer

setNodeTypeFilter() 공개 메소드

Set the node type filter
public setNodeTypeFilter ( string $nodeTypeFilter ) : void
$nodeTypeFilter string
리턴 void

setRoot() 공개 메소드

Set the root node
public setRoot ( string $rootContextPath ) : void
$rootContextPath string
리턴 void

setSearchTermFilter() 공개 메소드

Set the search term filter
public setSearchTermFilter ( string $searchTermFilter ) : void
$searchTermFilter string
리턴 void

프로퍼티 상세

$active 보호되어 있는 프로퍼티

The currently active node in the tree
protected NodeInterface,TYPO3\TYPO3CR\Domain\Model $active
리턴 TYPO3\TYPO3CR\Domain\Model\NodeInterface

$controllerContext 보호되어 있는 프로퍼티

protected ControllerContext,TYPO3\Flow\Mvc\Controller $controllerContext
리턴 TYPO3\Flow\Mvc\Controller\ControllerContext

$depth 보호되어 있는 프로퍼티

Determines how many levels of the tree should be loaded
protected int $depth
리턴 integer

$linkingService 보호되어 있는 프로퍼티

protected LinkingService,TYPO3\Neos\Service $linkingService
리턴 TYPO3\Neos\Service\LinkingService

$nodeService 보호되어 있는 프로퍼티

protected NodeService,Neos\Neos\Ui\TYPO3CR\Service $nodeService
리턴 Neos\Neos\Ui\TYPO3CR\Service\NodeService

$nodeTypeFilter 보호되어 있는 프로퍼티

An (optional) node type filter
protected string|null $nodeTypeFilter
리턴 string | null

$root 보호되어 있는 프로퍼티

The site node
protected NodeInterface,TYPO3\TYPO3CR\Domain\Model $root
리턴 TYPO3\TYPO3CR\Domain\Model\NodeInterface

$searchTermFilter 보호되어 있는 프로퍼티

An (optional) search term filter
protected string $searchTermFilter
리턴 string