|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
An endpoint is a PHP file that produces output via HTTP. More...
Inheritance diagram for ILIAS\Component\Resource\Endpoint:
Collaboration diagram for ILIAS\Component\Resource\Endpoint:Public Member Functions | |
| __construct (\ILIAS\Component\Component $component, string $source, string $target=".") | |
Public Member Functions inherited from ILIAS\Component\Resource\OfComponent | |
| __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 | |
Data Fields inherited from ILIAS\Component\Resource\OfComponent | |
| 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().
Here is the call graph for this function: