PHP Class Neos\ContentRepository\Domain\Model\ExpressionBasedNodeLabelGenerator

Inheritance: implements Neos\ContentRepository\Domain\Model\NodeLabelGeneratorInterface
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$defaultContextConfiguration array
$eelEvaluator Neos\Eel\EelEvaluatorInterface
$expression string

Méthodes publiques

Méthode Description
getExpression ( ) : string
getLabel ( Neos\ContentRepository\Domain\Model\NodeInterface $node, boolean $crop = true ) : string Render a node label
initializeObject ( ) : void
setExpression ( string $expression )

Method Details

getExpression() public méthode

public getExpression ( ) : string
Résultat string

getLabel() public méthode

Render a node label
public getLabel ( Neos\ContentRepository\Domain\Model\NodeInterface $node, boolean $crop = true ) : string
$node Neos\ContentRepository\Domain\Model\NodeInterface
$crop boolean This argument is deprecated as of Neos 1.2 and will be removed. Don't rely on this behavior and crop labels in the view.
Résultat string

initializeObject() public méthode

public initializeObject ( ) : void
Résultat void

setExpression() public méthode

public setExpression ( string $expression )
$expression string

Property Details

$defaultContextConfiguration protected_oe property

protected array $defaultContextConfiguration
Résultat array

$eelEvaluator protected_oe property

protected EelEvaluatorInterface,Neos\Eel $eelEvaluator
Résultat Neos\Eel\EelEvaluatorInterface

$expression protected_oe property

protected string $expression
Résultat string