ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
An endpoint is a PHP file that produces output via HTTP. More...
Public Member Functions | |
__construct (\ILIAS\Component\Component $component, string $source, string $target=".") | |
![]() | |
__construct (protected \ILIAS\Component\Component $component, protected string $source, protected string $target,) | |
getSource () | |
The path of asset relative to the ILIAS base directory. More... | |
getTarget () | |
The new path of relative to the ILIAS public directory. More... | |
Additional Inherited Members | |
![]() | |
const | REGEXP_SOURCE = '%^(((\w|.)+(/(\w|.)+)*(\.\w{2,4})?)|(\.htaccess))$%' |
const | REGEXP_TARGET = '%^(((\w|.)+(/(\w|.)+)*)|[.])$%' |
An endpoint is a PHP file that produces output via HTTP.
These will be located on the toplevel of the public folder. Fall back to ComponentResource if something else is needed.
Definition at line 28 of file Endpoint.php.
ILIAS\Component\Resource\Endpoint::__construct | ( | \ILIAS\Component\Component | $component, |
string | $source, | ||
string | $target = "." |
||
) |
$component | this belongs to |
$source | path relative to the components resources directory |
$target | path relative to the ILIAS public directory, filename of resource will be appended. Use one dot for toplevel. Defaults to ".". |
Definition at line 35 of file Endpoint.php.
References ILIAS\GlobalScreen\Provider\__construct().