Navigation

Search

ssi_quickSearch

Description

Shows a simple search box if output_method is 'echo', otherwise returns link to the search screen.

Syntax

mixed ssi_quickSearch ([string $output_method])



Parameter $output_method

Expected type: String
Description: Standard SSI.php output_method variable. If 'echo', will display a nice search box. Otherwise the function returns a link to the search page.



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Void If output_method is 'echo', simply outputs a search box
String A link to the search page (if output_method isn't 'echo')


Notes

  • Doesn't check permissions
  • Not much to this function
View all versions of this function