PHP 인터페이스 Neos\Media\Domain\Model\AssetInterface

상속: extends Neos\Media\Domain\Model\ResourceBasedInterface, extends Neos\Media\Domain\Model\ThumbnailSupportInterface
파일 보기 프로젝트 열기: neos/neos-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
getFileExtension ( ) : string Returns a file extension fitting to the media type of this asset
getMediaType ( ) : string Returns the IANA media type of this asset
getResource ( ) : PersistentResource Returns the resource of this asset
getTitle ( ) : string The title of this asset
setResource ( PersistentResource $resource ) : void Sets the resource and possibly triggers a refresh of dependent behavior
setTitle ( string $title ) : void Sets the title of this asset

메소드 상세

getFileExtension() 공개 메소드

Returns a file extension fitting to the media type of this asset
public getFileExtension ( ) : string
리턴 string

getMediaType() 공개 메소드

Returns the IANA media type of this asset
public getMediaType ( ) : string
리턴 string

getResource() 공개 메소드

Returns the resource of this asset
public getResource ( ) : PersistentResource
리턴 Neos\Flow\ResourceManagement\PersistentResource

getTitle() 공개 메소드

The title of this asset
public getTitle ( ) : string
리턴 string Title of the asset

setResource() 공개 메소드

Sets the resource and possibly triggers a refresh of dependent behavior
public setResource ( PersistentResource $resource ) : void
$resource Neos\Flow\ResourceManagement\PersistentResource
리턴 void

setTitle() 공개 메소드

Sets the title of this asset
public setTitle ( string $title ) : void
$title string
리턴 void