|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
An public asset that is a resource of some component. More...
Inheritance diagram for ILIAS\Component\Resource\OfComponent:
Collaboration diagram for ILIAS\Component\Resource\OfComponent: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... | |
| 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.