search()
search(string $term): array
Search for users
Searches database using the given $term, and returns array of results, which are then displayed within the auto-suggest / complete box.
Parameters
string | $term | The search term entered into the textbox. |
Returns
array —An array of key-value paris, keys are the unique ID# of the record, and values are displayed in the auto-suggest list.