* @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @category Stud.IP */ /** * This class provides a small and intuitive GUI-element for an instant search of * courses, persons, institutes or other items. Mainly the structure to include * a QuickSearch-field is the following: * //code-begin * $sf = new QuickSearch("username"); * $sf->withButton(); * $sf->specialSQL("SELECT username, CONCAT(Vorname, \" \", Nachname) " . * "FROM auth_user_md5 " . * "WHERE CONCAT(Vorname, \" \", Nachname) LIKE :input " . * "AND perms = 'dozent'", _("Dozenten suchen")); * print $sf->render(); * //code-end * This code should be included into an html