Class shardimage\shardimagephpapi\web\FileReference
Inheritance | shardimage\shardimagephpapi\web\FileReference » shardimage\shardimagephpapi\base\BaseObject |
---|
File reference object.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$field | string | Referenced field | shardimage\shardimagephpapi\web\FileReference |
$file | mixed | File | shardimage\shardimagephpapi\web\FileReference |
$id | string | Referenced field ID (if array) | shardimage\shardimagephpapi\web\FileReference |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Creates the object, populates the properties and calls the "init" method. | shardimage\shardimagephpapi\base\BaseObject |
__get() | Returns the value of a non-defined property, it there is a getter method. | shardimage\shardimagephpapi\base\BaseObject |
__isset() | Does the non-defined property with a getter exist and is it not NULL? | shardimage\shardimagephpapi\base\BaseObject |
__set() | Sets the value of a non-defined property, if there is a setter method. | shardimage\shardimagephpapi\base\BaseObject |
__unset() | Sets the value of a non-defined property to NULL, if there is a setter. | shardimage\shardimagephpapi\base\BaseObject |
createHeader() | Creates a HTTP header from the reference. | shardimage\shardimagephpapi\web\FileReference |
fromHeader() | Creates a reference from a HTTP header. | shardimage\shardimagephpapi\web\FileReference |
toArray() | Converts the object an array. | shardimage\shardimagephpapi\base\BaseObject |
Protected Methods
Method | Description | Defined By |
---|---|---|
ensureClass() | Creates an object from the given parameters. | shardimage\shardimagephpapi\base\BaseObject |
init() | Custom initialization. | shardimage\shardimagephpapi\base\BaseObject |
Property Details
Referenced field
File
Referenced field ID (if array)
Method Details
Creates a HTTP header from the reference.
public string createHeader ( ) |
Creates a reference from a HTTP header.
public static \self fromHeader ( $header, $file ) | ||
$header | string | Header in string |
$file | mixed |