ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilSystemStyleLessComment.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
29
class
ilSystemStyleLessComment
extends
ilSystemStyleLessItem
30
{
34
protected
string
$comment
=
''
;
35
39
public
function
__construct
(
string
$comment)
40
{
41
$this->
setComment
($comment);
42
}
43
44
public
function
getComment
(): string
45
{
46
return
$this->comment
;
47
}
48
49
public
function
setComment
(
string
$comment): void
50
{
51
$comment = str_replace(PHP_EOL,
''
, $comment);
52
$this->
comment
= str_replace(
"\n"
,
''
, $comment);
53
}
54
59
public
function
__toString
(): string
60
{
61
return
$this->
getComment
() .
"\n"
;
62
}
63
}
ilSystemStyleLessComment\getComment
getComment()
Definition:
class.ilSystemStyleLessComment.php:44
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:59
ilSystemStyleLessComment\setComment
setComment(string $comment)
Definition:
class.ilSystemStyleLessComment.php:49
ilSystemStyleLessComment\$comment
string $comment
Random content of the less file being neither part of a variable or category.
Definition:
class.ilSystemStyleLessComment.php:34
ilSystemStyleLessItem
Abstracts content of a less file.
Definition:
class.ilSystemStyleLessItem.php:23
ilSystemStyleLessComment
Capsules all data which is neither part of a variable or category structure in the less file...
Definition:
class.ilSystemStyleLessComment.php:29
ilSystemStyleLessComment\__construct
__construct(string $comment)
ilSystemStyleLessComment constructor.
Definition:
class.ilSystemStyleLessComment.php:39
ILIAS\UI\examples\Symbol\Glyph\Comment\comment
comment()
Definition:
comment.php:7
Services
Style
System
classes
Less
class.ilSystemStyleLessComment.php
Generated on Tue Apr 1 2025 22:02:35 for ILIAS by
1.8.13 (using
Doxyfile
)