PHP Класс Neos\Neos\Domain\Model\Dto\AssetUsageInNodeProperties

Наследование: extends Neos\Media\Domain\Model\Dto\UsageReference
Показать файл Открыть проект

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

Свойство Тип Описание
$accessible boolean
$documentNode Neos\ContentRepository\Domain\Model\NodeInterface
$node Neos\ContentRepository\Domain\Model\NodeInterface
$site Neos\Neos\Domain\Model\Site

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

Метод Описание
__construct ( Neos\Media\Domain\Model\AssetInterface $asset, Site $site, Neos\ContentRepository\Domain\Model\NodeInterface $documentNode = null, Neos\ContentRepository\Domain\Model\NodeInterface $node, boolean $accessible )
getDocumentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface Returns the parent document node of the node where the asset is used.
getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface Returns the node where the asset is in use.
getSite ( ) : Site Returns the Site object of the site where the asset is in use.
isAccessible ( ) : boolean Returns true if the node is accessible by the current user.

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

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

public __construct ( Neos\Media\Domain\Model\AssetInterface $asset, Site $site, Neos\ContentRepository\Domain\Model\NodeInterface $documentNode = null, Neos\ContentRepository\Domain\Model\NodeInterface $node, boolean $accessible )
$asset Neos\Media\Domain\Model\AssetInterface
$site Neos\Neos\Domain\Model\Site
$documentNode Neos\ContentRepository\Domain\Model\NodeInterface
$node Neos\ContentRepository\Domain\Model\NodeInterface
$accessible boolean

getDocumentNode() публичный Метод

Returns the parent document node of the node where the asset is used.
public getDocumentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
Результат Neos\ContentRepository\Domain\Model\NodeInterface

getNode() публичный Метод

Returns the node where the asset is in use.
public getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
Результат Neos\ContentRepository\Domain\Model\NodeInterface

getSite() публичный Метод

Returns the Site object of the site where the asset is in use.
public getSite ( ) : Site
Результат Neos\Neos\Domain\Model\Site

isAccessible() публичный Метод

Returns true if the node is accessible by the current user.
public isAccessible ( ) : boolean
Результат boolean

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

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

protected bool $accessible
Результат boolean

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

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

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

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

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

protected Site,Neos\Neos\Domain\Model $site
Результат Neos\Neos\Domain\Model\Site