ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
with_relationships.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Link\Standard
;
6
7
use
ILIAS\UI\Component\Link\Relationship
;
8
9
function
with_relationships
()
10
{
11
global
$DIC
;
12
$f
= $DIC->ui()->factory();
13
$renderer = $DIC->ui()->renderer();
14
15
$link =
$f
->link()->standard(
"Goto ILIAS"
,
"http://www.ilias.de"
)
16
->withAdditionalRelationshipToReferencedResource(Relationship::EXTERNAL)
17
->withAdditionalRelationshipToReferencedResource(Relationship::BOOKMARK);
18
19
return
$renderer->render($link);
20
}
ILIAS\UI\examples\Link\Standard\with_relationships
with_relationships()
Definition:
with_relationships.php:9
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\examples\Link\Standard
Definition:
base.php:5
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\Component\Link\Relationship
Relationship
Note that not all valid values of the rel-attribute of anchor tags are included here (see https://htm...
Definition:
Relationship.php:28
src
UI
examples
Link
Standard
with_relationships.php
Generated on Wed Sep 10 2025 14:12:11 for ILIAS by
1.8.13 (using
Doxyfile
)