Documentation

Binary extends Lob
in package

Encapsulation object for binary values to be used in SQL statements to ensure proper quoting, escaping, retrieval, etc.

Tags
author

Chuck Hagenbuch chuck@horde.org

category

Horde

copyright

2006-2021 Horde LLC

license

http://www.horde.org/licenses/bsd

Table of Contents

$stream  : resource
Binary stream value to be quoted
$stream  : resource
$value  : string
Binary scalar value to be quoted
$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.
quote()  : mixed

Properties

$stream

Binary stream value to be quoted

public resource $stream

The binary value as a stream. @since Horde_Db 2.4.0

$stream

public resource $stream

The binary value as a stream. @since Horde_Db 2.4.0

$value

Binary scalar value to be quoted

public string $value

The binary value as a string. @since Horde_Db 2.1.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
Return values
mixed

Search results