PHP Class Neos\Neos\Domain\Model\Dto\AssetUsageInNodeProperties

Inheritance: extends Neos\Media\Domain\Model\Dto\UsageReference
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$accessible boolean
$documentNode Neos\ContentRepository\Domain\Model\NodeInterface
$node Neos\ContentRepository\Domain\Model\NodeInterface
$site Neos\Neos\Domain\Model\Site

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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() public méthode

Returns the parent document node of the node where the asset is used.
public getDocumentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
Résultat Neos\ContentRepository\Domain\Model\NodeInterface

getNode() public méthode

Returns the node where the asset is in use.
public getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
Résultat Neos\ContentRepository\Domain\Model\NodeInterface

getSite() public méthode

Returns the Site object of the site where the asset is in use.
public getSite ( ) : Site
Résultat Neos\Neos\Domain\Model\Site

isAccessible() public méthode

Returns true if the node is accessible by the current user.
public isAccessible ( ) : boolean
Résultat boolean

Property Details

$accessible protected_oe property

protected bool $accessible
Résultat boolean

$documentNode protected_oe property

protected NodeInterface,Neos\ContentRepository\Domain\Model $documentNode
Résultat Neos\ContentRepository\Domain\Model\NodeInterface

$node protected_oe property

protected NodeInterface,Neos\ContentRepository\Domain\Model $node
Résultat Neos\ContentRepository\Domain\Model\NodeInterface

$site protected_oe property

protected Site,Neos\Neos\Domain\Model $site
Résultat Neos\Neos\Domain\Model\Site