Class

eZ\Publish\Core\FieldType\BinaryBase\Value

abstract class Value extends Value

Base value for binary field types.

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.

Methods

string __toString()

Returns a string representation of the field value.

__construct(array $fileData = array())

Construct a new Value object.

__get($propertyName)

__set($propertyName, $propertyValue)

__isset($propertyName)

Details

at line 92
public string __toString()

Returns a string representation of the field value.

Return Value

string

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

Construct a new Value object.

Parameters

array $fileData

at line 97
public __get($propertyName)

Parameters

$propertyName

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

Parameters

$propertyName
$propertyValue

at line 118
public __isset($propertyName)

Parameters

$propertyName