ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
ContentLanguage.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\MetaBar\Factory
;
22
23
use
ILIAS\Data\LanguageTag
;
24
25
trait
ContentLanguage
26
{
27
protected
?
LanguageTag
$content_language =
null
;
28
29
public
function
withContentLanguage
(
LanguageTag
$content_language): self
30
{
31
$clone = clone $this;
32
$clone->content_language = $content_language;
33
return
$clone;
34
}
35
36
public
function
getContentLanguage
(): ?
LanguageTag
37
{
38
return
$this->content_language;
39
}
40
}
ILIAS\Data\LanguageTag
Definition:
GrandFathered.php:21
ILIAS\GlobalScreen\Scope\MetaBar\Factory\withContentLanguage
withContentLanguage(LanguageTag $content_language)
Definition:
ContentLanguage.php:29
ILIAS\Data\LanguageTag
This class represents a valid language tag that should be used instead of plain strings.
Definition:
LanguageTag.php:39
ILIAS\GlobalScreen\Scope\MetaBar\Factory\getContentLanguage
getContentLanguage()
Definition:
ContentLanguage.php:36
ILIAS\GlobalScreen\Scope\MetaBar\Factory
Definition:
AbstractBaseItem.php:21
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ContentLanguage
components
ILIAS
GlobalScreen
src
Scope
MetaBar
Factory
ContentLanguage.php
Generated on Wed Sep 3 2025 23:03:08 for ILIAS by
1.8.13 (using
Doxyfile
)