PHP Class Neos\ContentRepository\Eel\FlowQueryOperations\ContextOperation

Example: q(node).context({'invisibleContentShown': true}).children()
Inheritance: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
Mostrar archivo Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$contextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$priority integer
$shortName string

Public Methods

Method Description
canEvaluate ( $context ) : boolean
evaluate ( FlowQuery $flowQuery, array $arguments ) : void

Method Details

canEvaluate() public method

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

evaluate() public method

public evaluate ( FlowQuery $flowQuery, array $arguments ) : void
$flowQuery Neos\Eel\FlowQuery\FlowQuery The FlowQuery object
$arguments array The arguments for this operation
return void

Property Details

$contextFactory protected_oe property

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
return Neos\ContentRepository\Domain\Service\ContextFactoryInterface

$priority protected_oe static_oe property

protected static int $priority
return integer

$shortName protected_oe static_oe property

protected static string $shortName
return string