PHP 클래스 Neos\Neos\Domain\Model\PluginViewDefinition

파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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