PHP Класс Neos\Neos\Domain\Model\PluginViewDefinition

Показать файл Открыть проект

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

Свойство Тип Описание
$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

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

Метод Описание
__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

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

__construct() публичный метод

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() публичный метод

Renders the unique name of this PluginView in the format :/
public __toString ( ) : string
Результат string

getConfiguration() публичный метод

Instead, use the get* / has* methods which exist for every configuration property.
public getConfiguration ( ) : array
Результат array

getControllerActionPairs() публичный метод

public getControllerActionPairs ( ) : array
Результат array

getLabel() публичный метод

Get the human-readable label of this node type
public getLabel ( ) : string
Результат string

getName() публичный метод

Returns the name of the plugin view
public getName ( ) : string
Результат string

getPluginNodeType() публичный метод

public getPluginNodeType ( ) : NodeType
Результат Neos\ContentRepository\Domain\Model\NodeType

matchesControllerActionPair() публичный метод

Whether or not the current PluginView is configured to handle the specified controller/action pair
public matchesControllerActionPair ( $controllerObjectName, $actionName ) : boolean
$controllerObjectName
$actionName
Результат boolean

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

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

Configuration for this node type, can be an arbitrarily nested array.
protected array $configuration
Результат array

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

Name of this plugin view. Example: "SomePluginView"
protected string $name
Результат string

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

protected NodeType,Neos\ContentRepository\Domain\Model $pluginNodeType
Результат Neos\ContentRepository\Domain\Model\NodeType