ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (string $less_variables_file_path_name) | |
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 (string $category='') | |
getItemById (int $id) | |
getVariableByName (string $name='') | |
getReferencesToVariable (string $variable_name) | |
getReferencesToVariableAsString (string $variable_name) | |
getRefAndCommentAsString (string $variable_name, string $refs_wording) | |
getLessVariablesFilePathName () | |
setLessVariablesFilePathName (string $less_variables_file_path_name) | |
getItems () | |
getCommentsIds () | |
getVariablesIds () | |
getCategoriesIds () | |
Protected Attributes | |
array | $items = [] |
array | $comments_ids = [] |
Separated array with all comments ids (performance reasons) More... | |
array | $variables_ids = [] |
Separated array with all variable ids (performance reasons) More... | |
array | $categories_ids = [] |
Separated array with all category ids (performance reasons) More... | |
string | $less_variables_file_path_name = '' |
Complete path the the variables file on the file system. More... | |
Definition at line 25 of file class.ilSystemStyleLessFile.php.
ilSystemStyleLessFile::__construct | ( | string | $less_variables_file_path_name | ) |
Definition at line 53 of file class.ilSystemStyleLessFile.php.
References $less_variables_file_path_name, and read().
ilSystemStyleLessFile::addItem | ( | ilSystemStyleLessItem | $item | ) |
Definition at line 164 of file class.ilSystemStyleLessFile.php.
References $id.
Referenced by read().
ilSystemStyleLessFile::getCategories | ( | ) |
Definition at line 182 of file class.ilSystemStyleLessFile.php.
ilSystemStyleLessFile::getCategoriesIds | ( | ) |
Definition at line 297 of file class.ilSystemStyleLessFile.php.
References $categories_ids.
ilSystemStyleLessFile::getCommentsIds | ( | ) |
Definition at line 287 of file class.ilSystemStyleLessFile.php.
References $comments_ids.
ilSystemStyleLessFile::getContent | ( | ) |
Definition at line 154 of file class.ilSystemStyleLessFile.php.
Referenced by write().
ilSystemStyleLessFile::getItemById | ( | int | $id | ) |
Definition at line 209 of file class.ilSystemStyleLessFile.php.
References $id.
Referenced by read().
ilSystemStyleLessFile::getItems | ( | ) |
Definition at line 282 of file class.ilSystemStyleLessFile.php.
References $items.
ilSystemStyleLessFile::getLessVariablesFilePathName | ( | ) |
Definition at line 269 of file class.ilSystemStyleLessFile.php.
References $less_variables_file_path_name.
Referenced by read(), and write().
ilSystemStyleLessFile::getRefAndCommentAsString | ( | string | $variable_name, |
string | $refs_wording | ||
) |
Definition at line 247 of file class.ilSystemStyleLessFile.php.
References getReferencesToVariable(), and getVariableByName().
ilSystemStyleLessFile::getReferencesToVariable | ( | string | $variable_name | ) |
Definition at line 224 of file class.ilSystemStyleLessFile.php.
References $id.
Referenced by getRefAndCommentAsString(), and getReferencesToVariableAsString().
ilSystemStyleLessFile::getReferencesToVariableAsString | ( | string | $variable_name | ) |
Definition at line 238 of file class.ilSystemStyleLessFile.php.
References getReferencesToVariable().
ilSystemStyleLessFile::getVariableByName | ( | string | $name = '' | ) |
Definition at line 214 of file class.ilSystemStyleLessFile.php.
References $name.
Referenced by getRefAndCommentAsString().
ilSystemStyleLessFile::getVariablesIds | ( | ) |
Definition at line 292 of file class.ilSystemStyleLessFile.php.
References $variables_ids.
ilSystemStyleLessFile::getVariablesPerCategory | ( | string | $category = '' | ) |
Definition at line 196 of file class.ilSystemStyleLessFile.php.
ilSystemStyleLessFile::read | ( | ) |
Reads the file from the file system.
ilSystemStyleException |
Definition at line 63 of file class.ilSystemStyleLessFile.php.
References Vendor\Package\$e, $out, addItem(), ilSystemStyleException\FILE_OPENING_FAILED, getItemById(), and getLessVariablesFilePathName().
Referenced by __construct().
ilSystemStyleLessFile::setLessVariablesFilePathName | ( | string | $less_variables_file_path_name | ) |
Definition at line 274 of file class.ilSystemStyleLessFile.php.
References $less_variables_file_path_name.
ilSystemStyleLessFile::write | ( | ) |
Write the complete file back to the file system (including comments and random content)
Definition at line 149 of file class.ilSystemStyleLessFile.php.
References getContent(), and getLessVariablesFilePathName().
Referenced by ilSkinStyleLessFileTest\testReadWriteDoubleFullLess(), and ilSystemStyleStyleLessFileTest\testReadWriteDoubleFullLess().
|
protected |
Separated array with all category ids (performance reasons)
Definition at line 46 of file class.ilSystemStyleLessFile.php.
Referenced by getCategoriesIds().
|
protected |
Separated array with all comments ids (performance reasons)
Definition at line 36 of file class.ilSystemStyleLessFile.php.
Referenced by getCommentsIds().
|
protected |
Definition at line 31 of file class.ilSystemStyleLessFile.php.
Referenced by getItems().
|
protected |
Complete path the the variables file on the file system.
Definition at line 51 of file class.ilSystemStyleLessFile.php.
Referenced by __construct(), getLessVariablesFilePathName(), and setLessVariablesFilePathName().
|
protected |
Separated array with all variable ids (performance reasons)
Definition at line 41 of file class.ilSystemStyleLessFile.php.
Referenced by getVariablesIds().