PHP Интерфейс Neos\Flow\ResourceManagement\Target\TargetInterface

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getName ( ) : string Returns the name of this target instance
getPublicPersistentResourceUri ( PersistentResource $resource ) : string Returns the web accessible URI pointing to the specified persistent resource
getPublicStaticResourceUri ( string $relativePathAndFilename ) : string Returns the web accessible URI pointing to the given static resource
publishCollection ( Neos\Flow\ResourceManagement\CollectionInterface $collection ) : void Publishes the whole collection to this target
publishResource ( PersistentResource $resource, Neos\Flow\ResourceManagement\CollectionInterface $collection ) : void Publishes the given persistent resource from the given storage
unpublishResource ( PersistentResource $resource ) : void Unpublishes the given persistent resource

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

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

Returns the name of this target instance
public getName ( ) : string
Результат string

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

Returns the web accessible URI pointing to the specified persistent resource
public getPublicPersistentResourceUri ( PersistentResource $resource ) : string
$resource Neos\Flow\ResourceManagement\PersistentResource PersistentResource object
Результат string The URI

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

Returns the web accessible URI pointing to the given static resource
public getPublicStaticResourceUri ( string $relativePathAndFilename ) : string
$relativePathAndFilename string Relative path and filename of the static resource
Результат string The URI

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

Publishes the whole collection to this target
public publishCollection ( Neos\Flow\ResourceManagement\CollectionInterface $collection ) : void
$collection Neos\Flow\ResourceManagement\CollectionInterface The collection to publish
Результат void

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

Publishes the given persistent resource from the given storage
public publishResource ( PersistentResource $resource, Neos\Flow\ResourceManagement\CollectionInterface $collection ) : void
$resource Neos\Flow\ResourceManagement\PersistentResource The resource to publish
$collection Neos\Flow\ResourceManagement\CollectionInterface The collection the given resource belongs to
Результат void

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

Unpublishes the given persistent resource
public unpublishResource ( PersistentResource $resource ) : void
$resource Neos\Flow\ResourceManagement\PersistentResource The resource to unpublish
Результат void