PHP Class Neos\Neos\Domain\Model\PluginViewDefinition

Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$configuration array Configuration for this node type, can be an arbitrarily nested array.
$name string Name of this plugin view. Example: "SomePluginView"
$pluginNodeType Neos\ContentRepository\Domain\Model\NodeType

Méthodes publiques

Méthode Description
__construct ( NodeType $pluginNodeType, string $name, array $configuration )
__toString ( ) : string Renders the unique name of this PluginView in the format :/
getConfiguration ( ) : array Get the full configuration of the node type. Should only be used internally.
getControllerActionPairs ( ) : array
getLabel ( ) : string Get the human-readable label of this node type
getName ( ) : string Returns the name of the plugin view
getPluginNodeType ( ) : NodeType
matchesControllerActionPair ( $controllerObjectName, $actionName ) : boolean Whether or not the current PluginView is configured to handle the specified controller/action pair

Method Details

__construct() public méthode

public __construct ( NodeType $pluginNodeType, string $name, array $configuration )
$pluginNodeType Neos\ContentRepository\Domain\Model\NodeType
$name string Name of the view
$configuration array the configuration for this node type which is defined in the schema

__toString() public méthode

Renders the unique name of this PluginView in the format :/
public __toString ( ) : string
Résultat string

getConfiguration() public méthode

Instead, use the get* / has* methods which exist for every configuration property.
public getConfiguration ( ) : array
Résultat array

getControllerActionPairs() public méthode

public getControllerActionPairs ( ) : array
Résultat array

getLabel() public méthode

Get the human-readable label of this node type
public getLabel ( ) : string
Résultat string

getName() public méthode

Returns the name of the plugin view
public getName ( ) : string
Résultat string

getPluginNodeType() public méthode

public getPluginNodeType ( ) : NodeType
Résultat Neos\ContentRepository\Domain\Model\NodeType

matchesControllerActionPair() public méthode

Whether or not the current PluginView is configured to handle the specified controller/action pair
public matchesControllerActionPair ( $controllerObjectName, $actionName ) : boolean
$controllerObjectName
$actionName
Résultat boolean

Property Details

$configuration protected_oe property

Configuration for this node type, can be an arbitrarily nested array.
protected array $configuration
Résultat array

$name protected_oe property

Name of this plugin view. Example: "SomePluginView"
protected string $name
Résultat string

$pluginNodeType protected_oe property

protected NodeType,Neos\ContentRepository\Domain\Model $pluginNodeType
Résultat Neos\ContentRepository\Domain\Model\NodeType