Builds an IMAP4rev1 compliant search string.
public build ( Horde_Imap_Client_Base $exts = [] ) : array | ||
$exts | Horde_Imap_Client_Base | The server object this query will be run on (@since 2.24.0), a Horde_Imap_Client_Data_Capability object (@since 2.24.0), or the list of extensions present on the server (@deprecated). If null, all extensions are assumed to be available. |
return | array | An array with these elements: - charset: (string) The charset of the search string. If null, no text strings appear in query. - exts: (array) The list of IMAP extensions used to create the string. - query: (Horde_Imap_Client_Data_Format_List) The IMAP search command. |