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