|
Stud.IP
jlu_3.3 Revision
|


Public Member Functions | |
| __construct ($search) | |
| getTitle () | |
| includePath () | |
Public Member Functions inherited from SQLSearch | |
| __construct ($query, $title="", $avatarLike="") | |
| getTitle () | |
| getAvatar ($id) | |
| getAvatarImageTag ($id, $size=Avatar::SMALL, $options=array()) | |
| getResults ($input, $contextual_data=array(), $limit=PHP_INT_MAX, $offset=0) | |
| includePath () | |
Public Member Functions inherited from SearchType | |
| getTitle () | |
| getAvatar ($id) | |
| getAvatarImageTag ($id) | |
| getResults ($keyword, $contextual_data=array(), $limit=PHP_INT_MAX, $offset=0) | |
| includePath () | |
Static Public Member Functions | |
| static | get ($search) |
Static Public Member Functions inherited from SQLSearch | |
| static | get ($query, $title="", $avatarLike="") |
Data Fields | |
| $search | |
Data Fields inherited from SQLSearch | |
| $extendedLayout = false | |
Additional Inherited Members | |
Protected Attributes inherited from SQLSearch | |
| $sql | |
| $avatarLike | |
| $title | |
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]
| __construct | ( | $search | ) |
| string | $search |
|
static |
| getTitle | ( | ) |
returns the title/description of the searchfield
Reimplemented from SQLSearch.
Reimplemented in MyCoursesSearch.
| includePath | ( | ) |
A very simple overwrite of the same method from SearchType class. returns the absolute path to this class for autoincluding this class.
Reimplemented from SQLSearch.
Reimplemented in MyCoursesSearch.
| $search |