◆ getAdminInstitutes()
getAdminInstitutes |
( |
User |
$user | ) |
|
|
protected |
Returns a list of all institute ids the given user is admin for.
- Parameters
-
- Returns
- string[]
◆ getAvatar()
Returns an adress of the avatar of the searched item (if avatar enabled)
- Parameters
-
string | $id | id of the item which can be username, user_id, Seminar_id or Institut_id |
- Returns
- string url to the avatar image
◆ getAvatarImageTag()
Returns an html tag of the image of the searched item (if avatar enabled)
- Parameters
-
string | $id | id of the item which can be username, user_id, Seminar_id or Institut_id |
string | $size | enum(NORMAL, SMALL, MEDIUM): size of the avatar |
array | $options | |
- Returns
- string like "<img src="...avatar.jpg" ... >"
◆ getAvatarObject()
getAvatarObject |
( |
string |
$id | ) |
|
|
protected |
Returns an avatar object for the given combined id.
- Parameters
-
- Returns
- Avatar|null
◆ getResults()
getResults |
( |
|
$input, |
|
|
|
$contextual_data = [] , |
|
|
|
$limit = PHP_INT_MAX , |
|
|
|
$offset = 0 |
|
) |
| |
returns the results of a search
- Parameters
-
string | $input | the search-word(s) |
array | $contextual_data | unused |
int | $limit | maximum number of results (default: all) |
int | $offset | return results starting from this row (default: 0) |
- Returns
- array array(array(), ...)
◆ getTitle()
returns the title/description of the searchfield
- Returns
- string title/description
◆ includePath()
A very simple overwrite of the same method from SearchType class. returns the absolute path to this class for autoincluding this class.
- Returns
- string path to this class
The documentation for this class was generated from the following file: