Lob
in package
implements
Value
Encapsulation object for LOB values to be used in SQL statements to ensure proper quoting, escaping, retrieval, etc.
Tags
Interfaces, Classes, Traits and Enums
- Value
- Interface for values with specific quoting rules.
Table of Contents
- $stream : resource
- $value : mixed
- $stream : resource
- Binary stream value to be quoted
- $value : string
- Binary scalar value to be quoted
- __construct() : mixed
- Constructor
- __get() : mixed
- Getter for $value and $stream properties.
- __set() : mixed
- Setter for $value and $stream properties.
Properties
$stream
public
resource
$stream
The binary value as a stream. @since Horde_Db 2.4.0
$value
public
mixed
$value
The binary value as a string. @since Horde_Db 2.1.0
$stream
Binary stream value to be quoted
protected
resource
$stream
$value
Binary scalar value to be quoted
protected
string
$value
Methods
__construct()
Constructor
public
__construct(string|resource $binaryValue) : mixed
Parameters
- $binaryValue : string|resource
-
The binary value in a string or stream resource.
Return values
mixed —__get()
Getter for $value and $stream properties.
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —__set()
Setter for $value and $stream properties.
public
__set(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed