ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
CheckHelpers.php
Go to the documentation of this file.
1 <?php
2 
24 
27 use ILIAS\Data\URI;
28 
30 {
31  public function __construct(
32  public \ilAccessHandler $access,
33  public \ilCtrlInterface $ctrl,
34  public ActionRepository $action_repository,
35  public Services $http,
36  public \ilWorkspaceAccessHandler $workspace_access_handler
37  ) {
38  }
39 
40  public function fromTarget(string $target): URI
41  {
42  return (new URI(rtrim(ILIAS_HTTP_PATH, '/') . '/' . $target));
43  }
44 
45 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(public \ilAccessHandler $access, public \ilCtrlInterface $ctrl, public ActionRepository $action_repository, public Services $http, public \ilWorkspaceAccessHandler $workspace_access_handler)
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:18
$http
Definition: raiseError.php:7
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: BaseCheck.php:21