ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
An public asset that is a resource of some component. More...
Public Member Functions | |
__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... | |
Data Fields | |
const | REGEXP_SOURCE = '%^(((\w|.)+(/(\w|.)+)*(\.\w{2,4})?)|(\.htaccess))$%' |
const | REGEXP_TARGET = '%^(((\w|.)+(/(\w|.)+)*)|[.])$%' |
An public asset that is a resource of some component.
Definition at line 26 of file OfComponent.php.
ILIAS\Component\Resource\OfComponent::__construct | ( | protected \ILIAS\Component\Component | $component, |
protected string | $source, | ||
protected 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. |
Definition at line 36 of file OfComponent.php.
ILIAS\Component\Resource\OfComponent::getSource | ( | ) |
The path of asset relative to the ILIAS base directory.
Implements ILIAS\Component\Resource\PublicAsset.
Definition at line 53 of file OfComponent.php.
ILIAS\Component\Resource\OfComponent::getTarget | ( | ) |
The new path of relative to the ILIAS public directory.
Implements ILIAS\Component\Resource\PublicAsset.
Definition at line 60 of file OfComponent.php.
const ILIAS\Component\Resource\OfComponent::REGEXP_SOURCE = '%^(((\w|.)+(/(\w|.)+)*(\.\w{2,4})?)|(\.htaccess))$%' |
Definition at line 28 of file OfComponent.php.
const ILIAS\Component\Resource\OfComponent::REGEXP_TARGET = '%^(((\w|.)+(/(\w|.)+)*)|[.])$%' |
Definition at line 29 of file OfComponent.php.