PHP 클래스 Neos\Neos\Domain\Model\Dto\AssetUsageInNodeProperties

상속: extends Neos\Media\Domain\Model\Dto\UsageReference
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

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