ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($less_variables_file) | |
KitchenSinkLessFile constructor. More... | |
read () | |
Reads the file from the file system. More... | |
write () | |
Write the complete file back to the file system (including comments and random content) More... | |
getContent () | |
addItem (ilSystemStyleLessItem $item) | |
getCategories () | |
getVariablesPerCategory ($category="") | |
getItemById ($id) | |
getVariableByName ($name="") | |
getReferencesToVariable ($variable_name) | |
getReferencesToVariableAsString ($variable_name) | |
getLessVariablesFile () | |
setLessVariablesFile ($less_variables_file) | |
getItems () | |
getCommentsIds () | |
getVariablesIds () | |
getCategoriesIds () | |
Protected Attributes | |
$items = array() | |
$comments_ids = array() | |
$variables_ids = array() | |
$categories_ids = array() | |
$less_variables_file_path = "" | |
Definition at line 16 of file class.ilSystemStyleLessFile.php.
ilSystemStyleLessFile::__construct | ( | $less_variables_file | ) |
KitchenSinkLessFile constructor.
string | $less_variables_file |
Definition at line 57 of file class.ilSystemStyleLessFile.php.
References read().
ilSystemStyleLessFile::addItem | ( | ilSystemStyleLessItem | $item | ) |
ilSystemStyleLessItem | $item |
Definition at line 175 of file class.ilSystemStyleLessFile.php.
References $id.
Referenced by read().
ilSystemStyleLessFile::getCategories | ( | ) |
Definition at line 194 of file class.ilSystemStyleLessFile.php.
ilSystemStyleLessFile::getCategoriesIds | ( | ) |
Definition at line 319 of file class.ilSystemStyleLessFile.php.
References $categories_ids.
ilSystemStyleLessFile::getCommentsIds | ( | ) |
Definition at line 303 of file class.ilSystemStyleLessFile.php.
References $comments_ids.
ilSystemStyleLessFile::getContent | ( | ) |
Definition at line 161 of file class.ilSystemStyleLessFile.php.
References Sabre\VObject\$output.
Referenced by write().
ilSystemStyleLessFile::getItemById | ( | $id | ) |
$id |
Definition at line 226 of file class.ilSystemStyleLessFile.php.
References $id.
Referenced by read().
ilSystemStyleLessFile::getItems | ( | ) |
Definition at line 295 of file class.ilSystemStyleLessFile.php.
References $items.
ilSystemStyleLessFile::getLessVariablesFile | ( | ) |
Definition at line 279 of file class.ilSystemStyleLessFile.php.
Referenced by read(), and write().
ilSystemStyleLessFile::getReferencesToVariable | ( | $variable_name | ) |
$variable_name |
Definition at line 249 of file class.ilSystemStyleLessFile.php.
References $id.
Referenced by getReferencesToVariableAsString().
ilSystemStyleLessFile::getReferencesToVariableAsString | ( | $variable_name | ) |
$variable_name |
Definition at line 267 of file class.ilSystemStyleLessFile.php.
References getReferencesToVariable().
ilSystemStyleLessFile::getVariableByName | ( | $name = "" | ) |
string | $name |
Definition at line 235 of file class.ilSystemStyleLessFile.php.
References $name.
ilSystemStyleLessFile::getVariablesIds | ( | ) |
Definition at line 311 of file class.ilSystemStyleLessFile.php.
References $variables_ids.
ilSystemStyleLessFile::getVariablesPerCategory | ( | $category = "" | ) |
string | $category |
Definition at line 209 of file class.ilSystemStyleLessFile.php.
ilSystemStyleLessFile::read | ( | ) |
Reads the file from the file system.
ilSystemStyleException |
Definition at line 68 of file class.ilSystemStyleLessFile.php.
References $out, addItem(), ilSystemStyleException\FILE_OPENING_FAILED, getItemById(), and getLessVariablesFile().
Referenced by __construct().
ilSystemStyleLessFile::setLessVariablesFile | ( | $less_variables_file | ) |
string | $less_variables_file |
Definition at line 287 of file class.ilSystemStyleLessFile.php.
ilSystemStyleLessFile::write | ( | ) |
Write the complete file back to the file system (including comments and random content)
Definition at line 153 of file class.ilSystemStyleLessFile.php.
References getContent(), and getLessVariablesFile().
Referenced by ilSkinStyleLessFileTest\testReadWriteDoubleFullLess(), and ilSystemStyleStyleLessFileTest\testReadWriteDoubleFullLess().
|
protected |
Definition at line 44 of file class.ilSystemStyleLessFile.php.
Referenced by getCategoriesIds().
|
protected |
Definition at line 30 of file class.ilSystemStyleLessFile.php.
Referenced by getCommentsIds().
|
protected |
Definition at line 23 of file class.ilSystemStyleLessFile.php.
Referenced by getItems().
|
protected |
Definition at line 51 of file class.ilSystemStyleLessFile.php.
|
protected |
Definition at line 37 of file class.ilSystemStyleLessFile.php.
Referenced by getVariablesIds().