|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Go to the source code of this file.
Functions | |
| encodeNamespaceForUrl (string $psr4_namespace) | |
| decodeNamespaceFromUrl (string $ilctrl_namespace) | |
Variables | |
| trait | ilCtrlNamespaceEncoding |
This absolute monstrosity of an encoding/decoding trait exists because ILIAS strips \ from request URLs. More... | |
| static string | $ilctrl_namespace_delimiter = '.' |
| decodeNamespaceFromUrl | ( | string | $ilctrl_namespace | ) |
Definition at line 42 of file trait.ilCtrlNamespaceEncoding.php.
References $ilctrl_namespace_delimiter.
Referenced by ilCtrlContext\adoptRequestParameters().
Here is the caller graph for this function:| encodeNamespaceForUrl | ( | string | $psr4_namespace | ) |
Definition at line 37 of file trait.ilCtrlNamespaceEncoding.php.
References $ilctrl_namespace_delimiter.
|
staticprivate |
Definition at line 35 of file trait.ilCtrlNamespaceEncoding.php.
Referenced by decodeNamespaceFromUrl(), and encodeNamespaceForUrl().
| trait ilCtrlNamespaceEncoding |
This absolute monstrosity of an encoding/decoding trait exists because ILIAS strips \ from request URLs.
This prevents ilCtrl from using PSR-4 namespaced command- and base-classes until we either work around this issue or drop these as arguments from the URL – which we could, but decide not to pursue, because we should focus on migrating towards a real routing component (see https://docu.ilias.de/go/wiki/wpage_8780_1357).
@noinspection AutoloadingIssuesInspection
Definition at line 32 of file trait.ilCtrlNamespaceEncoding.php.