ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Docs.php
Go to the documentation of this file.
1<?php
3
4class 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
28EOT;
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>
37EOT;
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
html()
An exception for terminatinating execution or to throw for unit testing.
static toStringDo($languages)
Definition: Docs.php:9
static http()
Fetches the global http state from ILIAS.