Function printSearchForm
Prints the search form
Search works on a list of tokens entered into the search form.
Tokens may be part of boolean expressions using &, |, !, and parens. (Comma is retained as a synonom of | for backwords compatibility.)
Tokens may be enclosed in quotation marks to create exact pattern matches or to include the boolean operators and parens as part of the tag..
string |
$prevtext = NULL |
text to go before the search form |
string |
$id = 'search' |
css id for the search form, default is 'search' |
string |
$buttonSource = NULL |
<p>optional path to the image for the button or if not a path to an image, this will be the button hint</p> |
string |
$buttontext = '' |
optional text for the button ("Search" will be the default text) |
string |
$iconsource = NULL |
optional theme based icon for the search fields toggle |
array |
$query_fields = NULL |
override selection for enabled fields with this list |
array |
$object_list = NULL |
<p>$objects_list optional array of things to search eg. [albums]=>[list], etc. if the list is simply 0, the objects will be omitted from the search</p> |
string |
$within = NULL |
set to true to search within current results, false to search fresh |