ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
class.ilLink.php
Go to the documentation of this file.
1<?php
2
20
21class ilLink
22{
26 public static function _getLink(
27 ?int $a_ref_id,
28 string $a_type = '',
29 array $a_params = [],
30 string $append = ""
31 ): string {
32 global $DIC;
34 $static_url = $DIC['static_url'];
35
36 return $static_url->builder()->buildLegacy(
37 $a_ref_id,
38 $a_type,
39 $a_params,
40 $append
41 );
42 }
43
47 public static function _getStaticLink(
48 ?int $a_ref_id,
49 string $a_type = '',
50 bool $a_fallback_goto = true,
51 string $append = ""
52 ): string {
53 return self::_getLink($a_ref_id, $a_type, [], $append);
54 }
55}
Class Services.
Definition: Services.php:38
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$static_url
Definition: goto.php:29
global $DIC
Definition: shib_login.php:26