PHP 클래스 Horde_Imap_Client_Data_BaseSubject, horde

저자: Timo Sirainen ([email protected])
저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_subject string The base subject.

공개 메소드들

메소드 설명
__construct ( string $str, array $opts = [] ) : string Constructor.
__toString ( ) : string Return the "base subject" defined in RFC 5256 [2.1].

보호된 메소드들

메소드 설명
_removeBlob ( string $str, integer $i ) : boolean | integer Remove "[.
_removeBlobWhenNonempty ( &$str ) : boolean Remove "[.
_removeSubjFwdHdr ( &$str ) : boolean Remove a "[fwd: .
_removeSubjLeader ( &$str, boolean $keepblob = false ) : boolean Remove all prefix text of the subject that matches the subj-leader ABNF.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $str, array $opts = [] ) : string
$str string The subject string.
$opts array Additional options: - keepblob: (boolean) Don't remove any "blob" information (i.e. text leading text between square brackets) from string.
리턴 string The cleaned up subject string.

__toString() 공개 메소드

Return the "base subject" defined in RFC 5256 [2.1].
public __toString ( ) : string
리턴 string The base subject.

_removeBlob() 보호된 메소드

..]" text.
protected _removeBlob ( string $str, integer $i ) : boolean | integer
$str string The subject string.
$i integer Current position.
리턴 boolean | integer False if blob was not found, otherwise the string position of the first non-blob char.

_removeBlobWhenNonempty() 보호된 메소드

..]" text if it doesn't result in the subject becoming empty.
protected _removeBlobWhenNonempty ( &$str ) : boolean
리턴 boolean True if string was altered.

_removeSubjFwdHdr() 보호된 메소드

.. ]" string.
protected _removeSubjFwdHdr ( &$str ) : boolean
리턴 boolean True if string was altered.

_removeSubjLeader() 보호된 메소드

Remove all prefix text of the subject that matches the subj-leader ABNF.
protected _removeSubjLeader ( &$str, boolean $keepblob = false ) : boolean
$keepblob boolean Remove blob information?
리턴 boolean True if string was altered.

프로퍼티 상세

$_subject 보호되어 있는 프로퍼티

The base subject.
protected string $_subject
리턴 string