ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilSystemStyleLessComment.php
Go to the documentation of this file.
1
<?
php
2
require_once(
"./Services/Style/System/classes/Less/class.ilSystemStyleLessItem.php"
);
15
class
ilSystemStyleLessComment
extends
ilSystemStyleLessItem
16
{
17
23
protected
$comment
=
""
;
24
29
public
function
__construct
(
$comment
)
30
{
31
$this->
setComment
(
$comment
);
32
}
33
37
public
function
getComment
()
38
{
39
return
$this->comment
;
40
}
41
45
public
function
setComment
(
$comment
)
46
{
47
$this->
comment
= str_replace(
PHP_EOL
,
''
,
$comment
);
48
}
49
56
public
function
__toString
()
57
{
58
return
$this->
getComment
().
"\n"
;
59
}
60
61
}
ilSystemStyleLessComment\getComment
getComment()
Definition:
class.ilSystemStyleLessComment.php:37
ilSystemStyleLessComment\__toString
__toString()
This function will be needed to write the comment back to the less file and restore it's initial stru...
Definition:
class.ilSystemStyleLessComment.php:56
ilSystemStyleLessComment\setComment
setComment($comment)
Definition:
class.ilSystemStyleLessComment.php:45
ilSystemStyleLessComment\$comment
$comment
Definition:
class.ilSystemStyleLessComment.php:23
comment
comment()
Definition:
comment.php:2
PHP_EOL
if($is_dev) echo "Review changes write something in WHATSNEW and and then commit with log PHP_EOL
Definition:
release1-update.php:107
ilSystemStyleLessComment\__construct
__construct($comment)
ilSystemStyleLessComment constructor.
Definition:
class.ilSystemStyleLessComment.php:29
ilSystemStyleLessItem
Abstracts content of a less file.
Definition:
class.ilSystemStyleLessItem.php:9
ilSystemStyleLessComment
Capsules all data which is neither part of a variable or category structure in the less file...
Definition:
class.ilSystemStyleLessComment.php:15
php
Services
Style
System
classes
Less
class.ilSystemStyleLessComment.php
Generated on Fri Jan 17 2025 19:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)