ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Link.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\Component
;
26
27
class
Link
extends
Column
implements C\Link
28
{
29
public
function
format
($value): string|
Component
30
{
31
$this->checkArgInstanceOf(
'value'
, $value, Standard::class);
32
return
$value;
33
}
37
public
function
getOrderingLabels
(): array
38
{
39
return
[
40
$this->asc_label ?? $this->
getTitle
() . self::SEPERATOR . $this->
lng
->txt(
'order_option_alphabetical_ascending'
),
41
$this->desc_label ?? $this->
getTitle
() . self::SEPERATOR . $this->
lng
->txt(
'order_option_alphabetical_descending'
)
42
];
43
}
44
}
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
ILIAS\UI\Implementation\Component\Table\Column\Link\getOrderingLabels
getOrderingLabels()
Definition:
Link.php:37
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
ILIAS\UI\Implementation\Component\Table\Column\Link\format
format($value)
Definition:
Link.php:29
Standard
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:61
ILIAS\UI\Component\Table\Column
Definition:
Boolean.php:21
components
ILIAS
UI
src
Implementation
Component
Table
Column
Link.php
Generated on Sun Aug 31 2025 23:02:45 for ILIAS by
1.8.13 (using
Doxyfile
)