PHP Class eZ\Publish\Core\IO\Values\BinaryFile

It allows reading & writing of files in a unified way
Inheritance: extends eZ\Publish\API\Repository\Values\ValueObject
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Properties

Property Type Description
$mimeType string Example: text/xml

Protected Properties

Property Type Description
$id mixed Unique ID Ex: media/images/ez-logo/209-1-eng-GB/eZ-Logo.gif, or application/2b042138835bb5f48beb9c9df6e86de4.pdf.
$mtime DateTime File modification time.
$size integer File size, in bytes.
$uri string URI to the binary file.

Property Details

$id protected_oe property

Unique ID Ex: media/images/ez-logo/209-1-eng-GB/eZ-Logo.gif, or application/2b042138835bb5f48beb9c9df6e86de4.pdf.
protected mixed $id
return mixed

$mimeType public_oe property

Example: text/xml
Deprecation: Since 5.3.3, use IOService::getMimeType() if you want to be 6.0 compatible as opposed to < 5.3.3
public string $mimeType
return string

$mtime protected_oe property

File modification time.
protected DateTime $mtime
return DateTime

$size protected_oe property

File size, in bytes.
protected int $size
return integer

$uri protected_oe property

URI to the binary file.
protected string $uri
return string