PHP Класс Horde_Imap_Client_Data_Format_String, horde

Автор: Michael Slusarz ([email protected])
Наследование: extends Horde_Imap_Client_Data_Format
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_filter string String filter parameters.

Открытые методы

Метод Описание
__construct ( $data, array $opts = [] )
__toString ( )
binary ( ) : boolean If literal output, is the data binary?
escape ( )
escapeStream ( ) : resource Return the escaped string as a stream.
forceBinary ( ) Force item to be output as a binary literal.
forceLiteral ( ) Force item to be output as a literal.
forceQuoted ( ) Force item to be output quoted.
getStream ( ) : Horde_Stream Return the contents of the string as a stream object.
length ( ) : integer Return the length of the data.
literal ( ) : boolean Does this data item require literal string output?
quoted ( ) : boolean Does this data item require quoted string output?

Защищенные методы

Метод Описание
_filterParams ( ) : object Return the base string filter parameters.

Описание методов

__construct() публичный Метод

public __construct ( $data, array $opts = [] )
$opts 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

__toString() публичный Метод

public __toString ( )

_filterParams() защищенный Метод

Return the base string filter parameters.
protected _filterParams ( ) : object
Результат object Filter parameters.

binary() публичный Метод

If literal output, is the data binary?
public binary ( ) : boolean
Результат boolean True if the literal output is binary.

escape() публичный Метод

public escape ( )

escapeStream() публичный Метод

Return the escaped string as a stream.
public escapeStream ( ) : resource
Результат resource The IMAP escaped stream.

forceBinary() публичный Метод

Force item to be output as a binary literal.
public forceBinary ( )

forceLiteral() публичный Метод

Force item to be output as a literal.
public forceLiteral ( )

forceQuoted() публичный Метод

Force item to be output quoted.
public forceQuoted ( )

getStream() публичный Метод

Return the contents of the string as a stream object.
С версии: 2.3.0
public getStream ( ) : Horde_Stream
Результат Horde_Stream The stream object.

length() публичный Метод

Return the length of the data.
С версии: 2.2.0
public length ( ) : integer
Результат integer Data length.

literal() публичный Метод

Does this data item require literal string output?
public literal ( ) : boolean
Результат boolean True if literal output is required.

quoted() публичный Метод

Does this data item require quoted string output?
public quoted ( ) : boolean
Результат boolean True if quoted output is required.

Описание свойств

$_filter защищенное свойство

String filter parameters.
protected string $_filter
Результат string