2 require_once(
"./Services/Style/System/classes/Less/class.ilSystemStyleLessItem.php");
98 if ($this->
getName() ==
"icon-font-path") {
103 if (substr(
$value, -1, 1) !=
"\"") {
107 if (
$value ==
"\"../../libs/bower/bower_components/bootstrap/fonts/\"") {
108 $value =
"\"../../../../libs/bower/bower_components/bootstrap/fonts/\"";
113 $this->value = str_replace(
"\n",
'',
$value);
176 $content .=
"//** " . $this->
getComment() .
"\n";
178 $content .=
"@" . $this->
getName() .
":\t\t" . $this->
getValue() .
";\n";
setReferences($references)
__construct($name, $value, $comment, $category_name, $references)
ilSystemStyleLessVariable constructor.
__toString()
This function will be needed to write the variable back to the less file and restore it's initial str...
if($is_dev) echo "Review changes write something in WHATSNEW and and then commit with log PHP_EOL
setCategoryName($category_name)
Create styles array
The data for the language used.
Abstracts content of a less file.