Horde_Imap_Client_Data_Format_String
extends Horde_Imap_Client_Data_Format
in package
Object representation of an IMAP string (RFC 3501 [4.3]).
Tags
Table of Contents
- $_data : mixed
- Data.
- $_filter : string
- String filter parameters.
- __construct() : mixed
- Constructor.
- __toString() : string
- Returns the string value of the raw data.
- binary() : bool
- If literal output, is the data binary?
- escape() : string
- Returns the data formatted for output to the IMAP server.
- escapeStream() : resource
- Return the escaped string as a stream.
- forceBinary() : mixed
- Force item to be output as a binary literal.
- forceLiteral() : mixed
- Force item to be output as a literal.
- forceQuoted() : mixed
- Force item to be output quoted.
- getData() : mixed
- Returns the raw data.
- getStream() : Horde_Stream
- Return the contents of the string as a stream object.
- length() : int
- Return the length of the data.
- literal() : bool
- Does this data item require literal string output?
- quoted() : bool
- Does this data item require quoted string output?
- verify() : mixed
- Verify the data.
- _filterParams() : object
- Return the base string filter parameters.
Properties
$_data
Data.
protected
mixed
$_data
$_filter
String filter parameters.
protected
string
$_filter
Methods
__construct()
Constructor.
public
__construct(mixed $data[, array<string|int, mixed> $opts = array() ]) : mixed
Parameters
- $data : mixed
-
Data.
- $opts : array<string|int, mixed> = array()
-
Additional options:
- eol: (boolean) If true, normalize EOLs in input. @since 2.2.0
- skipscan: (boolean) If true, don't scan input for binary/literal/quoted data. @since 2.2.0
Tags
Return values
mixed —__toString()
Returns the string value of the raw data.
public
__toString() : string
Return values
string —String value.
binary()
If literal output, is the data binary?
public
binary() : bool
Return values
bool —True if the literal output is binary.
escape()
Returns the data formatted for output to the IMAP server.
public
escape() : string
Return values
string —IMAP escaped string.
escapeStream()
Return the escaped string as a stream.
public
escapeStream() : resource
Return values
resource —The IMAP escaped stream.
forceBinary()
Force item to be output as a binary literal.
public
forceBinary() : mixed
Return values
mixed —forceLiteral()
Force item to be output as a literal.
public
forceLiteral() : mixed
Return values
mixed —forceQuoted()
Force item to be output quoted.
public
forceQuoted() : mixed
Return values
mixed —getData()
Returns the raw data.
public
getData() : mixed
Return values
mixed —Raw data.
getStream()
Return the contents of the string as a stream object.
public
getStream() : Horde_Stream
Tags
Return values
Horde_Stream —The stream object.
length()
Return the length of the data.
public
length() : int
Tags
Return values
int —Data length.
literal()
Does this data item require literal string output?
public
literal() : bool
Return values
bool —True if literal output is required.
quoted()
Does this data item require quoted string output?
public
quoted() : bool
Return values
bool —True if quoted output is required.
verify()
Verify the data.
public
verify() : mixed
Tags
Return values
mixed —_filterParams()
Return the base string filter parameters.
protected
_filterParams() : object
Return values
object —Filter parameters.