ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
LinkListing.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Table\Column
;
22
23
use
ILIAS\UI\Component\Table\Column
as
C
;
24
use
ILIAS\UI\Component\Link\Standard
;
25
use
ILIAS\UI\Component\Listing\Ordered
;
26
use
ILIAS\UI\Component\Listing\Unordered
;
27
use
ILIAS\UI\Component\Component
;
28
29
class
LinkListing
extends
Column
implements C\LinkListing
30
{
31
public
function
format
($value): string|
Component
32
{
33
$listing = $this->toArray($value);
34
$this->checkArgListElements(
"value"
, $listing, [Ordered::class, Unordered::class]);
35
$listing_items = $value->getItems();
36
$this->checkArgListElements(
"list items"
, $listing_items, Standard::class);
37
return
$value;
38
}
39
40
public
function
getOrderingLabels
(): array
41
{
42
return
[
43
$this->asc_label ?? $this->
getTitle
() . self::SEPERATOR . $this->
lng
->txt(
'order_option_alphabetical_ascending'
),
44
$this->desc_label ?? $this->
getTitle
() . self::SEPERATOR . $this->
lng
->txt(
'order_option_alphabetical_descending'
)
45
];
46
}
47
}
ILIAS\UI\Implementation\Component\Table\Column\LinkListing\getOrderingLabels
getOrderingLabels()
Definition:
LinkListing.php:40
ILIAS\UI\Implementation\Component\Table\Column
Definition:
Boolean.php:21
ILIAS\UI\Implementation\Component\Table\Column\Column\getTitle
getTitle()
Definition:
Column.php:48
ILIAS\UI\Component
Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\UI\Implementation\Component\Table\Column\Column
Definition:
Column.php:28
Unordered
Standard
ILIAS\UI\Implementation\Component\Table\Column\LinkListing
Definition:
LinkListing.php:29
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:61
Ordered
ILIAS\UI\Component\Table\Column
Definition:
Boolean.php:21
ILIAS\UI\Implementation\Component\Table\Column\LinkListing\format
format($value)
Definition:
LinkListing.php:31
components
ILIAS
UI
src
Implementation
Component
Table
Column
LinkListing.php
Generated on Sat Apr 5 2025 23:04:25 for ILIAS by
1.8.13 (using
Doxyfile
)