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