PHP 클래스 Neos\ContentRepository\Eel\FlowQueryOperations\FindOperation

Example (node name): q(node).find('main') Example (relative path): q(node).find('main/text1') Example (absolute path): q(node).find('/sites/my-site/home') Example (identifier): q(node).find('#30e893c1-caef-0ca5-b53d-e5699bb8e506') Example (node type): q(node).find('[instanceof Neos.Neos.NodeTypes:Text]') Example (multiple node types): q(node).find('[instanceof Neos.Neos.NodeTypes:Text],[instanceof Neos.Neos.NodeTypes:Image]') Example (node type with filter): q(node).find('[instanceof Neos.Neos.NodeTypes:Text][text*="Neos"]')
상속: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$nodeDataRepository Neos\ContentRepository\Domain\Repository\NodeDataRepository
$priority integer
$shortName string

공개 메소드들

메소드 설명
canEvaluate ( $context ) : boolean
evaluate ( FlowQuery $flowQuery, array $arguments ) : void

보호된 메소드들

메소드 설명
hasOnlyInstanceOfFilters ( array $filters ) : boolean Check if the parsed filters only contain instanceof filters (e.g. "[instanceof Foo],[instanceof Bar]")

메소드 상세

canEvaluate() 공개 메소드

public canEvaluate ( $context ) : boolean
리턴 boolean TRUE if the operation can be applied onto the $context, FALSE otherwise

evaluate() 공개 메소드

public evaluate ( FlowQuery $flowQuery, array $arguments ) : void
$flowQuery Neos\Eel\FlowQuery\FlowQuery the FlowQuery object
$arguments array the arguments for this operation
리턴 void

hasOnlyInstanceOfFilters() 보호된 메소드

Check if the parsed filters only contain instanceof filters (e.g. "[instanceof Foo],[instanceof Bar]")
protected hasOnlyInstanceOfFilters ( array $filters ) : boolean
$filters array
리턴 boolean

프로퍼티 상세

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

protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository
리턴 Neos\ContentRepository\Domain\Repository\NodeDataRepository

$priority 보호되어 있는 정적으로 프로퍼티

protected static int $priority
리턴 integer

$shortName 보호되어 있는 정적으로 프로퍼티

protected static string $shortName
리턴 string