asearch_check_query (line
168)
Sanity checks, done before running the imap command and before calling push_recent
string
asearch_check_query
( &$where_array, &$what_array, &$exclude_array, array $where_array, array $what_array, array $exclude_array)
-
array
$where_array: search location data
-
array
$what_array: search criteria data
-
array
$exclude_array: excluded criteria data
-
&$where_array
-
&$what_array
-
&$exclude_array
asearch_delete_saved (line
518)
Delete a saved search from the prefs
Function arguments are different in 1.5.0
void
asearch_delete_saved
(integer $saved_index)
asearch_edit_last (line
441)
Get last search criteria from session or prefs
Function arguments are different in 1.5.0 FIXME, try to avoid globals
void
asearch_edit_last
(mixed $index)
asearch_edit_recent (line
415)
Edit a recent search
Function arguments are different in 1.5.0
void
asearch_edit_recent
(mixed $index)
asearch_edit_saved (line
470)
Edit a saved search
Function arguments are different in 1.5.0
void
asearch_edit_saved
(mixed $index)
asearch_find_recent (line
332)
Find a recent search in the prefs (used to avoid saving duplicates)
integer
asearch_find_recent
( &$recent_array, &$mailbox_array, &$biop_array, &$unop_array, &$where_array, &$what_array, &$exclude_array, &$sub_array, array $recent_array, array $mailbox_array, array $biop_array, array $unop_array, array $where_array, array $what_array, array $exclude_array, array $sub_array)
-
array
$recent_array
-
array
$mailbox_array
-
array
$biop_array
-
array
$unop_array
-
array
$where_array
-
array
$what_array
-
array
$exclude_array
-
array
$sub_array
-
&$recent_array
-
&$mailbox_array
-
&$biop_array
-
&$unop_array
-
&$where_array
-
&$what_array
-
&$exclude_array
-
&$sub_array
asearch_forget_recent (line
307)
Remove a recent search from prefs
Function arguments are different in 1.5.0
void
asearch_forget_recent
(integer $forget_index)
-
integer
$forget_index: removed search number
asearch_getPref (line
120)
Gets user's advanced search preferences
Arguments are different in 1.5.0.
string
asearch_getPref
( &$key, integer $index, [string $default = ''], string $key)
-
string
$key: the pref key
-
integer
$index: the pref key index
-
string
$default: default value
-
&$key
asearch_get_date_display (line
537)
Translate the input date to imap date to local date display,
so the user can know if the date is wrong or illegal
string
asearch_get_date_display
( &$what, string $what)
-
string
$what: date string
-
&$what
asearch_get_mailbox_display (line
71)
string
asearch_get_mailbox_display
(string $mailbox)
-
string
$mailbox: mailbox name or special case 'All Folders'
asearch_get_query_display (line
563)
Translate the query to rough natural display
string
asearch_get_query_display
( &$color, &$mailbox_array, &$biop_array, &$unop_array, &$where_array, &$what_array, &$exclude_array, &$sub_array, array $color, array $mailbox_array, array $biop_array, array $unop_array, array $where_array, array $what_array, array $exclude_array, array $sub_array)
-
array
$color
-
array
$mailbox_array
-
array
$biop_array
-
array
$unop_array
-
array
$where_array
-
array
$what_array
-
array
$exclude_array
-
array
$sub_array
-
&$color
-
&$mailbox_array
-
&$biop_array
-
&$unop_array
-
&$where_array
-
&$what_array
-
&$exclude_array
-
&$sub_array
asearch_mailbox_exists (line
755)
Verify that a mailbox exists
bool
asearch_mailbox_exists
(string $mailbox, &$boxes, array $boxes)
-
string
$mailbox
-
array
$boxes
-
&$boxes
asearch_print_form (line
777)
Print the advanced search form
void
asearch_print_form
(stream $imapConnection, &$boxes, array $mailbox_array, array $biop_array, array $unop_array, array $where_array, array $what_array, array $exclude_array, array $sub_array, array $boxes)
-
stream
$imapConnection
-
array
$boxes
-
array
$mailbox_array
-
array
$biop_array
-
array
$unop_array
-
array
$where_array
-
array
$what_array
-
array
$exclude_array
-
array
$sub_array
-
&$boxes
asearch_print_form_basic (line
843)
Print the basic search form
void
asearch_print_form_basic
(stream $imapConnection, &$boxes, array $mailbox_array, array $biop_array, array $unop_array, array $where_array, array $what_array, array $exclude_array, array $sub_array, array $boxes)
-
stream
$imapConnection
-
array
$boxes
-
array
$mailbox_array
-
array
$biop_array
-
array
$unop_array
-
array
$where_array
-
array
$what_array
-
array
$exclude_array
-
array
$sub_array
-
&$boxes
asearch_print_query_array (line
657)
Print a whole query array, recent or saved
Function arguments are different in 1.5.0
void
asearch_print_query_array
( &$boxes, &$query_array, &$query_keys, &$action_array, mixed $title, string $show_pref, array $boxes, array $query_array, mixed $query_keys, array $action_array)
-
array
$boxes: (unused)
-
array
$query_array
-
mixed
$query_keys
-
array
$action_array
-
mixed
$title
-
string
$show_pref
-
&$boxes
-
&$query_array
-
&$query_keys
-
&$action_array
asearch_print_recent (line
733)
Print the recent array
Function arguments are different in 1.5.0
void
asearch_print_recent
( &$boxes, array $boxes)
-
array
$boxes: (unused, see asearch_print_query_array())
-
&$boxes
asearch_print_saved (line
711)
Print the saved array
Function arguments are different in 1.5.0
void
asearch_print_saved
( &$boxes, array $boxes)
-
array
$boxes: (unused, see asearch_print_query_array())
-
&$boxes
asearch_push_recent (line
377)
Push a recent search into the prefs
void
asearch_push_recent
( &$mailbox_array, &$biop_array, &$unop_array, &$where_array, &$what_array, &$exclude_array, &$sub_array, array $recent_array, array $mailbox_array, array $biop_array, array $unop_array, array $where_array, array $what_array, array $exclude_array, array $sub_array)
-
array
$recent_array
-
array
$mailbox_array
-
array
$biop_array
-
array
$unop_array
-
array
$where_array
-
array
$what_array
-
array
$exclude_array
-
array
$sub_array
-
&$mailbox_array
-
&$biop_array
-
&$unop_array
-
&$where_array
-
&$what_array
-
&$exclude_array
-
&$sub_array
asearch_read_recent (line
193)
Read the recent searches from the prefs
Function arguments are different in 1.5.0
array
asearch_read_recent
()
asearch_read_saved (line
225)
Read the saved searches from the prefs
Function arguments are different in 1.5.0
array
asearch_read_saved
()
asearch_removePref (line
153)
Deletes user's advanced search preferences
Arguments are different in 1.5.0.
bool
asearch_removePref
( &$key, integer $index, string $key)
-
string
$key: the pref key
-
integer
$index: the pref key index
-
&$key
asearch_save_recent (line
252)
Save a recent search to the prefs
Function arguments are different in 1.5.0
void
asearch_save_recent
(integer $recent_index)
asearch_serialize (line
87)
string
asearch_serialize
( &$input_array, array $input_array)
-
array
$input_array: array to serialize
-
&$input_array
asearch_setPref (line
137)
Sets user's advanced search preferences
Arguments are different in 1.5.0.
bool
asearch_setPref
( &$key, integer $index, string $value, string $key)
-
string
$key: the pref key
-
integer
$index: the pref key index
-
string
$value: pref value to set
-
&$key
asearch_unhtml_strcoll (line
59)
Array sort callback used to sort $imap_asearch_options
bool
asearch_unhtml_strcoll
(string $a, string $b)
asearch_unserialize (line
101)
array
asearch_unserialize
(string $input_string)
-
string
$input_string: string to unserialize
asearch_write_recent (line
282)
Write a recent search to prefs
Function arguments are different in 1.5.0
void
asearch_write_recent
( &$recent_array, array $recent_array)
-
array
$recent_array
-
&$recent_array
asearch_write_saved (line
495)
Write a saved search to the prefs
Function arguments are different in 1.5.0
void
asearch_write_saved
( &$saved_array, array $saved_array)
-
array
$saved_array
-
&$saved_array
Creates button
void
getButton
(string $type, string $name, string $value, [string $js = ''], [bool $enabled = TRUE])
-
string
$type
-
string
$name
-
string
$value
-
string
$js
-
bool
$enabled
sqimap_asearch_get_selectable_unformatted_mailboxes (line
897)
array
sqimap_asearch_get_selectable_unformatted_mailboxes
( &$boxes, array $boxes)
-
array
$boxes: mailboxes array (reference)
-
&$boxes