ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
ILIAS\User\Search\AutocompleteItem Interface Reference
+ Inheritance diagram for ILIAS\User\Search\AutocompleteItem:
+ Collaboration diagram for ILIAS\User\Search\AutocompleteItem:

Public Member Functions

 getTagArray ()
 MUST return an array containing three properties "value", "display", and "searchBy". More...
 

Detailed Description

Definition at line 23 of file AutocompleteItem.php.

Member Function Documentation

◆ getTagArray()

ILIAS\User\Search\AutocompleteItem::getTagArray ( )

MUST return an array containing three properties "value", "display", and "searchBy".

The property "value" MUST be save to transmit as url-parameter. The returned tags will then again be filtered by the value in the property "searchBy". If you need to show the tag even if you are not allowed to divulge the full value of the field the search string was found in, you can simply reuse the search term here. See the `\ILIAS\User\Search\DefaultAutocompleteItem for an implementation of this.

Implemented in ILIAS\User\Search\DefaultAutocompleteItem.


The documentation for this interface was generated from the following file: