ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Capsules data of a less category in the variables to less file. More...
Public Member Functions | |
__construct ($name, $comment="") | |
ilSystemStyleLessCategory constructor. More... | |
getName () | |
setName ($name) | |
getComment () | |
setComment ($comment) | |
__toString () | |
This function will be needed to write the category back to the less file and restore it's initial structure in less. More... | |
Public Member Functions inherited from ilSystemStyleLessItem | |
__toString () | |
Protected Attributes | |
$name = "" | |
$comment = "" | |
Capsules data of a less category in the variables to less file.
A less category has the following structure:
//== NameOfCategory // //## Comment
Definition at line 16 of file class.ilSystemStyleLessCategory.php.
ilSystemStyleLessCategory::__construct | ( | $name, | |
$comment = "" |
|||
) |
ilSystemStyleLessCategory constructor.
string | $name | |
string | $comment |
Definition at line 37 of file class.ilSystemStyleLessCategory.php.
References $comment, $name, setComment(), and setName().
ilSystemStyleLessCategory::__toString | ( | ) |
This function will be needed to write the category back to the less file and restore it's initial structure in less.
Definition at line 81 of file class.ilSystemStyleLessCategory.php.
References getComment().
ilSystemStyleLessCategory::getComment | ( | ) |
Definition at line 62 of file class.ilSystemStyleLessCategory.php.
References $comment.
Referenced by __toString().
ilSystemStyleLessCategory::getName | ( | ) |
ilSystemStyleLessCategory::setComment | ( | $comment | ) |
string | $comment |
Definition at line 70 of file class.ilSystemStyleLessCategory.php.
References $comment, comment(), and PHP_EOL.
Referenced by __construct().
ilSystemStyleLessCategory::setName | ( | $name | ) |
string | $name |
Definition at line 54 of file class.ilSystemStyleLessCategory.php.
References $name, and PHP_EOL.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilSystemStyleLessCategory.php.
Referenced by __construct(), getComment(), and setComment().
|
protected |
Definition at line 23 of file class.ilSystemStyleLessCategory.php.
Referenced by __construct(), getName(), and setName().