PHP 클래스 Horde_Imap_Client_Fetch_Query, horde

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_data array Internal data array.

공개 메소드들

메소드 설명
bodyPart ( string $id, array $opts = [] ) Return the body part data for a MIME ID.
bodyPartSize ( string $id ) Returns the decoded body part size for a MIME ID.
bodyText ( array $opts = [] ) Return body text.
contains ( integer $criteria ) : boolean Does the query contain the given criteria?
count ( )
current ( )
envelope ( ) Return envelope header data.
flags ( ) Return flags set for the message.
fullText ( array $opts = [] ) Get the full text of the message.
hash ( ) : string Returns a hash of the current query object.
headerText ( array $opts = [] ) Return header text.
headers ( string $label, array $search, array $opts = [] ) Returns RFC 2822 header text that matches a search string.
imapDate ( ) Return the internal (IMAP) date of the message.
key ( )
mimeHeader ( string $id, array $opts = [] ) Return MIME header text.
modseq ( ) Return the mod-sequence value for the message.
next ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
remove ( integer $criteria, string $key ) Remove an entry under a given criteria.
rewind ( )
seq ( ) Return the sequence number of the message.
size ( ) Return the size (in bytes) of the message.
structure ( ) Return MIME structure information.
uid ( ) Return the unique ID of the message.
valid ( )

메소드 상세

bodyPart() 공개 메소드

Return the body part data for a MIME ID.
public bodyPart ( string $id, array $opts = [] )
$id string The MIME ID to obtain the body part text for.
$opts array The following options are available: - decode: (boolean) Attempt to server-side decode the bodypart data if it is MIME transfer encoded. DEFAULT: false - length: (integer) The length of the substring to return. DEFAULT: The entire text is returned. - peek: (boolean) If set, does not set the '\Seen' flag on the message. DEFAULT: The seen flag is set. - start: (integer) If a portion of the full text is desired to be returned, the starting position is identified here. DEFAULT: The entire text is returned.

bodyPartSize() 공개 메소드

Returns the decoded body part size for a MIME ID.
public bodyPartSize ( string $id )
$id string The MIME ID to obtain the decoded body part size for.

bodyText() 공개 메소드

Body text is defined only for the base RFC 2822 message or message/rfc822 parts.
public bodyText ( array $opts = [] )
$opts array The following options are available: - id: (string) The MIME ID to obtain the body text for. DEFAULT: The body text for the entire message will be returned. - length: (integer) The length of the substring to return. DEFAULT: The entire text is returned. - peek: (boolean) If set, does not set the '\Seen' flag on the message. DEFAULT: The seen flag is set. - start: (integer) If a portion of the full text is desired to be returned, the starting position is identified here. DEFAULT: The entire text is returned.

contains() 공개 메소드

Does the query contain the given criteria?
public contains ( integer $criteria ) : boolean
$criteria integer The criteria to remove.
리턴 boolean True if the query contains the given criteria.

count() 공개 메소드

public count ( )

current() 공개 메소드

public current ( )

envelope() 공개 메소드

Return envelope header data.
public envelope ( )

flags() 공개 메소드

Return flags set for the message.
public flags ( )

fullText() 공개 메소드

Get the full text of the message.
public fullText ( array $opts = [] )
$opts array The following options are available: - length: (integer) The length of the substring to return. DEFAULT: The entire text is returned. - peek: (boolean) If set, does not set the '\Seen' flag on the message. DEFAULT: The seen flag is set. - start: (integer) If a portion of the full text is desired to be returned, the starting position is identified here. DEFAULT: The entire text is returned.

hash() 공개 메소드

Returns a hash of the current query object.
public hash ( ) : string
리턴 string Hash.

headerText() 공개 메소드

Header text is defined only for the base RFC 2822 message or message/rfc822 parts.
public headerText ( array $opts = [] )
$opts array The following options are available: - id: (string) The MIME ID to obtain the header text for. DEFAULT: The header text for the base message will be returned. - length: (integer) The length of the substring to return. DEFAULT: The entire text is returned. - peek: (boolean) If set, does not set the '\Seen' flag on the message. DEFAULT: The seen flag is set. - start: (integer) If a portion of the full text is desired to be returned, the starting position is identified here. DEFAULT: The entire text is returned.

headers() 공개 메소드

This header search work only with the base RFC 2822 message or message/rfc822 parts.
public headers ( string $label, array $search, array $opts = [] )
$label string A unique label associated with this particular search. This is how the results are stored.
$search array The search string(s) (case-insensitive).
$opts array The following options are available: - cache: (boolean) If true, and 'peek' is also true, will cache the result of this call. DEFAULT: false - id: (string) The MIME ID to search. DEFAULT: The base message part - length: (integer) The length of the substring to return. DEFAULT: The entire text is returned. - notsearch: (boolean) Do a 'NOT' search on the headers. DEFAULT: false - peek: (boolean) If set, does not set the '\Seen' flag on the message. DEFAULT: The seen flag is set. - start: (integer) If a portion of the full text is desired to be returned, the starting position is identified here. DEFAULT: The entire text is returned.

imapDate() 공개 메소드

Return the internal (IMAP) date of the message.
public imapDate ( )

key() 공개 메소드

public key ( )

mimeHeader() 공개 메소드

MIME header text is defined only for non-RFC 2822 messages and non-message/rfc822 parts.
public mimeHeader ( string $id, array $opts = [] )
$id string The MIME ID to obtain the MIME header text for.
$opts array The following options are available: - length: (integer) The length of the substring to return. DEFAULT: The entire text is returned. - peek: (boolean) If set, does not set the '\Seen' flag on the message. DEFAULT: The seen flag is set. - start: (integer) If a portion of the full text is desired to be returned, the starting position is identified here. DEFAULT: The entire text is returned.

modseq() 공개 메소드

The server must support the CONDSTORE IMAP extension, and the mailbox must support mod-sequences.
public modseq ( )

next() 공개 메소드

public next ( )

offsetExists() 공개 메소드

public offsetExists ( $offset )

offsetGet() 공개 메소드

public offsetGet ( $offset )

offsetSet() 공개 메소드

public offsetSet ( $offset, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $offset )

remove() 공개 메소드

Remove an entry under a given criteria.
public remove ( integer $criteria, string $key )
$criteria integer Criteria ID.
$key string The key to remove.

rewind() 공개 메소드

public rewind ( )

seq() 공개 메소드

Return the sequence number of the message.
public seq ( )

size() 공개 메소드

Return the size (in bytes) of the message.
public size ( )

structure() 공개 메소드

Return MIME structure information.
public structure ( )

uid() 공개 메소드

Return the unique ID of the message.
public uid ( )

valid() 공개 메소드

public valid ( )

프로퍼티 상세

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

Internal data array.
protected array $_data
리턴 array