ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Some distributable file created by npm. More...
Public Member Functions | |
__construct (protected string $source) | |
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}))$%' |
Some distributable file created by npm.
Definition at line 26 of file NodeModule.php.
ILIAS\Component\Resource\NodeModule::__construct | ( | protected string | $source | ) |
$component | this belongs to |
$target | path relative to the ILIAS public directory, filename of resource will be appended. Use one dot for toplevel. |
Definition at line 34 of file NodeModule.php.
ILIAS\Component\Resource\NodeModule::getSource | ( | ) |
The path of asset relative to the ILIAS base directory.
Implements ILIAS\Component\Resource\PublicAsset.
Definition at line 44 of file NodeModule.php.
ILIAS\Component\Resource\NodeModule::getTarget | ( | ) |
The new path of relative to the ILIAS public directory.
Implements ILIAS\Component\Resource\PublicAsset.
Definition at line 49 of file NodeModule.php.
References ILIAS\Component\Resource\ComponentJS\TARGET, and ILIAS\Component\Resource\ComponentCSS\TARGET.
const ILIAS\Component\Resource\NodeModule::REGEXP_SOURCE = '%^(((\w|.)+(/(\w|.)+)*\.\w{2,4}))$%' |
Definition at line 28 of file NodeModule.php.