ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 83 of file class.ilSystemStyleLessCategory.php.
References getComment(), and getName().
ilSystemStyleLessCategory::getComment | ( | ) |
Definition at line 63 of file class.ilSystemStyleLessCategory.php.
References $comment.
Referenced by __toString().
ilSystemStyleLessCategory::getName | ( | ) |
Definition at line 46 of file class.ilSystemStyleLessCategory.php.
References $name.
Referenced by __toString().
ilSystemStyleLessCategory::setComment | ( | $comment | ) |
string | $comment |
Definition at line 71 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().