Static Public Member Functions |
static | get ($search) |
static | get ($query, $title="", $avatarLike="") |
Detailed Description
Class of type SearchType used for searches with QuickSearch (lib/classes/QuickSearch.class.php). You can search with a sql-syntax in the database. You just need to give in a query like for a PDB-prepare statement and at least the variable ":input" in the query (the :input will be replaced with the input of the QuickSearch userinput. [code] $search = new SQLSearch("username"); [/code]
- Author
- Rasmus Fuhse
Constructor & Destructor Documentation
Member Function Documentation
returns an object of type SQLSearch with parameters to constructor
- Parameters
-
- Returns
- SQLSearch
returns the title/description of the searchfield
- Returns
- string title/description
Reimplemented from SQLSearch.
A very simple overwrite of the same method from SearchType class. returns the absolute path to this class for autoincluding this class.
- Returns
- : path to this class
Reimplemented from SQLSearch.
The documentation for this class was generated from the following file: