PHP Интерфейс Neos\Media\Domain\Model\AssetInterface

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

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

Метод Описание
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