PHP Класс Neos\ContentRepository\Eel\FlowQueryOperations\ContextOperation

Example: q(node).context({'invisibleContentShown': true}).children()
Наследование: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$contextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$priority integer
$shortName string

Открытые методы

Метод Описание
canEvaluate ( $context ) : boolean
evaluate ( FlowQuery $flowQuery, array $arguments ) : void

Описание методов

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

Описание свойств

$contextFactory защищенное свойство

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
Результат Neos\ContentRepository\Domain\Service\ContextFactoryInterface

$priority защищенное статическое свойство

protected static int $priority
Результат integer

$shortName защищенное статическое свойство

protected static string $shortName
Результат string