Class

eZ\Publish\Core\FieldType\BinaryFile\Value

class Value extends Value

Value for BinaryFile field type.

Properties

string $inputUri Input file URI, as a path to a file on a disk.
string $fileName Display file name.
int $fileSize Size of the image file.
string $mimeType Mime type of the file.
string $uri HTTP URI.
string $path string$pathUsed for BC with 5.0 (EZP-20948). Equivalent to $id.
int $downloadCount Number of times the file has been downloaded through content/download module.

Methods

__construct(array $fileData = array())

Construct a new Value object.

from Value
string __toString()

Returns a string representation of the field value.

from Value
__get($propertyName)

from Value
__set($propertyName, $propertyValue)

from Value
__isset($propertyName)

from Value

Details

in Value at line 70
public __construct(array $fileData = array())

Construct a new Value object.

Parameters

array $fileData

in Value at line 92
public string __toString()

Returns a string representation of the field value.

Return Value

string

in Value at line 97
public __get($propertyName)

Parameters

$propertyName

in Value at line 106
public __set($propertyName, $propertyValue)

Parameters

$propertyName
$propertyValue

in Value at line 118
public __isset($propertyName)

Parameters

$propertyName