BinaryFileCreateStruct
BinaryFileCreateStruct.php
:
12
Create struct for BinaryFile objects.
Properties¶
$id¶
BinaryFileCreateStruct.php
:
44
Unique identifier for this file Ex: images/media/images/ibexa-logo/209-1-eng-GB/Ibexa-Logo.gif, or original/application/2b042138835bb5f48beb9c9df6e86de4.pdf.
|
|
$mimeType¶
BinaryFileCreateStruct.php
:
35
The file's mime type If not provided, will be auto-detected by the IOService Example: text/xml.
|
|
$mtime¶
BinaryFileCreateStruct.php
:
26
File modification time.
|
|
$size¶
BinaryFileCreateStruct.php
:
19
File size, in bytes.
|
|
Methods¶
getInputStream() ¶
BinaryFileCreateStruct.php
:
54
Returns the file's input resource.
|
|
Return values
resource
setInputStream() ¶
BinaryFileCreateStruct.php
:
64
Sets the file's input resource.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$inputStream | resource | - | - |