ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Writes assets to the filesystem. More...
Public Member Functions | |
__construct ($dir, array $values=array()) | |
Constructor. More... | |
writeManagerAssets (AssetManager $am) | |
writeAsset (AssetInterface $asset) | |
Static Protected Member Functions | |
static | write ($path, $contents) |
Private Member Functions | |
getCombinations (array $vars) | |
Not used. More... | |
Private Attributes | |
$dir | |
$values | |
Writes assets to the filesystem.
Definition at line 23 of file AssetWriter.php.
Assetic\AssetWriter::__construct | ( | $dir, | |
array | $values = array() |
||
) |
Constructor.
string | $dir | The base web directory |
array | $values | Variable values |
InvalidArgumentException if a variable value is not a string
Definition at line 36 of file AssetWriter.php.
References sprintf.
|
private |
Not used.
This method is provided for backward compatibility with certain versions of AsseticBundle.
Definition at line 90 of file AssetWriter.php.
|
staticprotected |
Definition at line 73 of file AssetWriter.php.
Assetic\AssetWriter::writeAsset | ( | AssetInterface | $asset | ) |
Definition at line 57 of file AssetWriter.php.
References Assetic\Asset\AssetInterface\dump(), Assetic\Asset\AssetInterface\getTargetPath(), Assetic\Asset\AssetInterface\getValues(), Assetic\Asset\AssetInterface\getVars(), and Assetic\Asset\AssetInterface\setValues().
Assetic\AssetWriter::writeManagerAssets | ( | AssetManager | $am | ) |
Definition at line 50 of file AssetWriter.php.
References Assetic\AssetManager\get(), and Assetic\AssetManager\getNames().
|
private |
Definition at line 25 of file AssetWriter.php.
|
private |
Definition at line 26 of file AssetWriter.php.