ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Docs.php
Go to the documentation of this file.
1
<?php
2
namespace
Gettext\Languages\Exporter
;
3
4
class
Docs
extends
Html
5
{
9
protected
static
function
toStringDo
($languages)
10
{
11
$result
= <<<EOT
12
<!doctype
html
>
13
<
html
lang=
"en"
>
14
<head>
15
<meta charset=
"utf-8"
>
16
<meta
http
-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
17
<meta name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
18
<meta name=
"author"
content=
"Michele Locati"
>
19
<title>gettext plural rules - built from CLDR</title>
20
<meta name=
"description"
content=
"List of all language rules for gettext .po files automatically generated from the Unicode CLDR data"
/>
21
<link rel=
"stylesheet"
href=
"http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"
>
22
<link rel=
"stylesheet"
href=
"style.css"
>
23
</head>
24
<body>
25
<a href=
"https://github.com/mlocati/cldr-to-gettext-plural-rules"
class
=
"hidden-xs"
><img
style
=
"position: fixed; top: 0; right: 0; border: 0; z-index: 2000"
src=
"https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
alt=
"Fork me on GitHub"
></a>
26
<div
class
=
"container-fluid"
>
27
28
EOT;
29
$result
.= static::buildTable($languages,
true
);
30
$result
.= <<<EOT
31
32
</div>
33
<script src=
"http://code.jquery.com/jquery-1.11.2.min.js"
></script>
34
<script src=
"script.js"
></script>
35
</body>
36
</
html
>
37
EOT;
38
39
return
$result
;
40
}
44
public
static
function
isForPublicUse
()
45
{
46
return
false
;
47
}
51
public
static
function
getDescription
()
52
{
53
return
'Build the page http://mlocati.github.io/cldr-to-gettext-plural-rules'
;
54
}
55
}
$result
$result
Definition:
CleanUpTest.php:463
Gettext\Languages\Exporter\Html
Definition:
Html.php:4
style
"color:#CC0000 style
Definition:
example_001.php:92
Gettext\Languages\Exporter\Docs\isForPublicUse
static isForPublicUse()
Definition:
Docs.php:44
Gettext\Languages\Exporter\Docs
Definition:
Docs.php:4
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:36
Gettext\Languages\Exporter
Definition:
Docs.php:2
Gettext\Languages\Exporter\Docs\toStringDo
static toStringDo($languages)
Definition:
Docs.php:9
Gettext\Languages\Exporter\Docs\getDescription
static getDescription()
Definition:
Docs.php:51
html
html()
Definition:
IntegrationTest.php:14
libs
composer
vendor
gettext
languages
src
Exporter
Docs.php
Generated on Sat Jan 18 2025 19:01:04 for ILIAS by
1.8.13 (using
Doxyfile
)