extends |
Hm_IMAP_Base |
|---|
IMAP specific parsing routines
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
protected
|
get_adjacent_response_value(array $vals, int $offset, string $key): int
helper method to grab values from the SELECT response
helper method to grab values from the SELECT response Parameters
Returnsthe adjacent value |
# | ||||||
protected
|
get_flag_values(array $vals): array
helper function to cllect flags from the SELECT response
helper function to cllect flags from the SELECT response Parameters
Returnslist of flags |
# | ||||||
protected
|
flag_match(string $filter, string $flags): bool
compare filter keywords against message flags
compare filter keywords against message flags Parameters
Returnstrue if the message matches the filter |
# | ||||||
protected
|
parse_extensions_from_capability(): void
build a list of IMAP extensions from the capability response
build a list of IMAP extensions from the capability response |
# | ||||||
protected
|
build_qresync_params(): string
build a QRESYNC IMAP extension paramater for a SELECT statement
build a QRESYNC IMAP extension paramater for a SELECT statement Returnsparam to use |
# | ||||||
protected
|
parse_quota_response($vals): array
parse GETQUOTAROOT and GETQUOTA responses
parse GETQUOTAROOT and GETQUOTA responses Returnslist of properties |
# | ||||||
protected
|
parse_untagged_responses(array $data): array
collect useful untagged responses about mailbox state from certain command responses
collect useful untagged responses about mailbox state from certain command responses Parameters
Returnslist of properties |
# | ||||||
protected
|
parse_esearch_response(array $vals): array
parse untagged ESEARCH/ESORT responses
parse untagged ESEARCH/ESORT responses Parameters
Returnslist of ESEARCH response values |
# | ||||||
protected
|
check_mailbox_state_change(array $attributes, $cached_state = false, $mailbox = false): void
examine NOOP/SELECT/EXAMINE untagged responses to determine if the mailbox state changed
examine NOOP/SELECT/EXAMINE untagged responses to determine if the mailbox state changed Parameters
|
# | ||||||
protected
|
build_list_commands(bool $lsub, $mailbox, $keyword, $children_capability = true): array
helper function to build IMAP LIST commands
helper function to build IMAP LIST commands Parameters
ReturnsIMAP LIST/LSUB commands |
# | ||||||
protected
|
parse_status_response(array $response): array
parse an untagged STATUS response
parse an untagged STATUS response Parameters
Returnslist of mailbox attributes |
# | ||||||
| Methods inherited from Hm_IMAP_Base |
|---|
parse_line(), fgets(), get_response(), send_command(), check_response(), utf7_decode(), utf7_encode(), input_validate(), is_clean(), apply_config() |