PHP 클래스 Horde_Imap_Client_Data_Format_String, horde

저자: Michael Slusarz ([email protected])
상속: extends Horde_Imap_Client_Data_Format
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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