Represent a message structure by parsing the results from the IMAP BODYSTRUCTURE command
| Methods | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
public
|
__construct(array $struct_response, $imap): void
Constructor. Takes the BODYSTRUCTURE response and builds a data representation
Constructor. Takes the BODYSTRUCTURE response and builds a data representation Parameters
|
# | ||||||||
public
|
recursive_search(array $struct, array $flds, bool $all, array $res, $parent = false): array
Search a parsed BODYSTRUCTURE response
Search a parsed BODYSTRUCTURE response Parameters
Returnslist of matching parts |
# | ||||||||
public
|
data(): array
Return structure
Return structure |
# | ||||||||
public
|
search(array $flds, bool $all = true): array
Public search function, returns a list of matching parts
Public search function, returns a list of matching parts Parameters
|
# | ||||||||