ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilCmiXapiUserAutocomplete.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
31{
32 protected int $objId;
33
34 public function __construct(int $objId)
35 {
37 $this->objId = $objId;
38 }
39
40 protected function getFromPart(): string
41 {
42 global $DIC;
43
44 $fromPart = parent::getFromPart();
45 return $fromPart . "
46 INNER JOIN (SELECT DISTINCT usr_id, obj_id FROM cmix_users) c
47 ON c.obj_id = {$DIC->database()->quote($this->objId, 'integer')}
48 AND c.usr_id = ud.usr_id
49 ";
50 }
51}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26