ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
BuildAutocompletionUrl.php
Go to the documentation of this file.
1<?php
2
3/*
4 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
5 * Click nbfs://nbhost/SystemFileSystem/Templates/Scripting/EmptyPHP.php to edit this template
6 */
7
8declare(strict_types=1);
9
11
13
14trait BuildAutocompletionUrl
15{
16 private function getAutocompleteUrl(\ilCtrl $ctrl): string
17 {
18 return $ctrl->getLinkTargetByClass(
19 [
20 \ilPublicProfileBaseClassGUI::class,
21 PublicProfileGUI::class
22 ],
23 'doProfileAutoComplete'
24 );
25 }
26}
GUI class for public user profile presentation.
Class ilCtrl provides processing control methods.
getLinkTargetByClass( $a_class, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
@inheritDoc