PublicPackageFile

final class \TYPO3\CMS\Core\SystemResource\Type\PublicPackageFile

Extends
PackageResource
Implements
PublicResourceInterface

Table of Contents

Interfaces

PublicResourceInterface
This interface is public API and can be referenced in third party code or throughout the TYPO3 core.

Properties

$identifier  : PackageResourceIdentifier
$resourceDefinition  : ResourceDefinitionInterface

Methods

__construct()  : mixed
__toString()  : string
fromPackageResource()  : self
getContents()  : string
getExtension()  : string
getHash()  : string
getImageDimension()  : ImageDimension
Returns the dimensions of the referenced image.
getMimeType()  : string
getName()  : string
getNameWithoutExtension()  : string
getPublicUri()  : UriInterface
getRelativePath()  : string
getResourceIdentifier()  : string
isImage()  : bool
Returns whether the referenced system resource is an image.
isPublished()  : bool

Properties

Methods

__toString()

public __toString() : string

Return values

string

fromPackageResource()

public static fromPackageResource(PackageResource $packageResource) : self

Parameters

$packageResource : PackageResource

Return values

self

getExtension()

public getExtension() : string

Return values

string

getName()

public getName() : string

Return values

string

getNameWithoutExtension()

public getNameWithoutExtension() : string

Return values

string

getRelativePath()

public getRelativePath() : string

Return values

string

getResourceIdentifier()

public getResourceIdentifier() : string

Return values

string

isPublished()

public isPublished() : bool

Return values

bool
On this page