adddf67eec76f436fa75c82b648ce73a414d2a5c
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

source/structure/personal_pronouns.html.php   1) <?php
fenris advanced

fenris authored 8 years ago

source/structure/personal_pronouns.html.php   2) global $configuration;
source/structure/personal_pronouns.html.php   3) include_once("source/logic/server/data.php");
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php     4) include_once("source/logic/server/sql.php");
fenris foo

fenris authored 8 years ago

source/structure/personal_pronouns.html.php   5) include_once("source/logic/server/table.php");
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

source/structure/personal_pronouns.html.php   6) 
fenris foo

fenris authored 8 years ago

source/structure/personal_pronouns.html.php   7) function convert_persona($persona) {return [0 => "impersonal", 1 => "1st person", 2 => "2nd person", 3 => "3rd person"][$persona];}
source/structure/personal_pronouns.html.php   8) function convert_numerus($numerus) {return [0 => null, 1 => "singular", 2 => "plural"][$numerus];}
source/structure/personal_pronouns.html.php   9) function convert_genus($genus) {return [0 => "common", 1 => "masculine", 2 => "feminine", 3 => "neuter"][$genus];}
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

source/structure/personal_pronouns.html.php  10)  ?>
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/personal_pronouns.html.php  11) <section class="subsection" id="personal_pronouns">
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

source/structure/personal_pronouns.html.php  12) 	<header>Personal Pronouns</header>
source/structure/personal_pronouns.html.php  13) <?php
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    14) 	$data_common = read_json("../../data/common.json");
source/content/personal_pronouns.html.php    15) 	$data_pronouns = read_json("../../data/personal_pronouns.json");
source/content/personal_pronouns.html.php    16) 	
source/content/personal_pronouns.html.php    17) 	$data = $data_pronouns["words"];
source/content/personal_pronouns.html.php    18) 	{
source/content/personal_pronouns.html.php    19) 		{
source/content/personal_pronouns.html.php    20) 			$data = sql_cross($data, $data_common["counts"]);
source/content/personal_pronouns.html.php    21) 			$data = sql_select($data, function ($row) {return ($row["count_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    22) 			$data = sql_delete($data, ["count_id", "id"]);
source/content/personal_pronouns.html.php    23) 			$data = sql_rename($data, "name", "count_name");
source/content/personal_pronouns.html.php    24) 		}
source/content/personal_pronouns.html.php    25) 		{
source/content/personal_pronouns.html.php    26) 			$data = sql_cross($data, $data_common["persons"]);
source/content/personal_pronouns.html.php    27) 			$data = sql_select($data, function ($row) {return ($row["person_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    28) 			$data = sql_delete($data, ["person_id", "id"]);
source/content/personal_pronouns.html.php    29) 			$data = sql_rename($data, "name", "person_name");
source/content/personal_pronouns.html.php    30) 		}
source/content/personal_pronouns.html.php    31) 		{
source/content/personal_pronouns.html.php    32) 			$data = sql_cross($data, $data_common["genders"]);
source/content/personal_pronouns.html.php    33) 			$data = sql_select($data, function ($row) {return ($row["gender_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    34) 			$data = sql_delete($data, ["gender_id", "id"]);
source/content/personal_pronouns.html.php    35) 			$data = sql_rename($data, "name", "gender_name");
source/content/personal_pronouns.html.php    36) 		}
source/content/personal_pronouns.html.php    37) 		{
source/content/personal_pronouns.html.php    38) 			$data = sql_cross($data, $data_pronouns["types"]);
source/content/personal_pronouns.html.php    39) 			$data = sql_select($data, function ($row) {return ($row["type_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    40) 			$data = sql_delete($data, ["type_id", "id"]);
source/content/personal_pronouns.html.php    41) 			$data = sql_rename($data, "name", "type_name");
source/content/personal_pronouns.html.php    42) 		}
source/content/personal_pronouns.html.php    43) 		{
source/content/personal_pronouns.html.php    44) 			$data = sql_cross($data, $data_common["cases"]);
source/content/personal_pronouns.html.php    45) 			$data = sql_select($data, function ($row) {return ($row["case_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    46) 			$data = sql_delete($data, ["case_id", "id"]);
source/content/personal_pronouns.html.php    47) 			$data = sql_rename($data, "name", "case_name");
source/content/personal_pronouns.html.php    48) 		}
source/content/personal_pronouns.html.php    49) 	}
source/content/personal_pronouns.html.php    50) 	
fenris foo

fenris authored 8 years ago

source/structure/personal_pronouns.html.php  51) 	$table = new class_table
source/structure/personal_pronouns.html.php  52) 	(
source/structure/personal_pronouns.html.php  53) 		[
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    54) 			new class_column("Language", "language_id"),
source/content/personal_pronouns.html.php    55) 			new class_column("Count", "count_name"),
source/content/personal_pronouns.html.php    56) 			new class_column("Person", "person_name"),
source/content/personal_pronouns.html.php    57) 			new class_column("Gender", "gender_name"),
source/content/personal_pronouns.html.php    58) 			new class_column("Type", "type_name"),
source/content/personal_pronouns.html.php    59) 			new class_column("Case", "case_name"),
source/content/personal_pronouns.html.php    60) 			new class_column("Words", "words", function ($x) {return json_encode($x);}),
fenris foo

fenris authored 8 years ago

source/structure/personal_pronouns.html.php  61) 		],
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    62) 		$data
source/content/personal_pronouns.html.php    63) 	);
source/content/personal_pronouns.html.php    64) 	
source/content/personal_pronouns.html.php    65) 	$table = $table->snap
source/content/personal_pronouns.html.php    66) 	(
source/content/personal_pronouns.html.php    67) 		[
source/content/personal_pronouns.html.php    68) 			"label_vertical" => function ($column) {return "";},
source/content/personal_pronouns.html.php    69) 			"columns_vertical" =>
source/content/personal_pronouns.html.php    70) 			[
source/content/personal_pronouns.html.php    71) 				$table->columns_get()[4],
source/content/personal_pronouns.html.php    72) 				$table->columns_get()[5],
source/content/personal_pronouns.html.php    73) 			],
source/content/personal_pronouns.html.php    74) 			"label_horizontal" => function ($column, $value) {return $value;},
source/content/personal_pronouns.html.php    75) 			"columns_horizontal" =>
source/content/personal_pronouns.html.php    76) 			[
source/content/personal_pronouns.html.php    77) 				$table->columns_get()[1],
source/content/personal_pronouns.html.php    78) 				$table->columns_get()[2],
source/content/personal_pronouns.html.php    79) 				$table->columns_get()[3],
source/content/personal_pronouns.html.php    80) 			],
source/content/personal_pronouns.html.php    81) 			"columns_data" =>
source/content/personal_pronouns.html.php    82) 			[
source/content/personal_pronouns.html.php    83) 				$table->columns_get()[0],
source/content/personal_pronouns.html.php    84) 				$table->columns_get()[6],
source/content/personal_pronouns.html.php    85) 			],
source/content/personal_pronouns.html.php    86) 			"data_aggregator" => function ($values)
source/content/personal_pronouns.html.php    87) 			{
source/content/personal_pronouns.html.php    88) 				return $values;
source/content/personal_pronouns.html.php    89) 			},
source/content/personal_pronouns.html.php    90) 			"data_formatter" => function ($value)
source/content/personal_pronouns.html.php    91) 			{
source/content/personal_pronouns.html.php    92) 				return (
source/content/personal_pronouns.html.php    93) 					_bar("words")
source/content/personal_pronouns.html.php    94) 					(
source/content/personal_pronouns.html.php    95) 						[
source/content/personal_pronouns.html.php    96) 							"original" => $value[0]["words"],
source/content/personal_pronouns.html.php    97) 							"translated" => $value[1]["words"],
source/content/personal_pronouns.html.php    98) 						]
source/content/personal_pronouns.html.php    99) 					)
source/content/personal_pronouns.html.php   100) 				);
source/content/personal_pronouns.html.php   101) 				return json_encode($value);
source/content/personal_pronouns.html.php   102) 			},
source/content/personal_pronouns.html.php   103) 		]
fenris foo

fenris authored 8 years ago

source/structure/personal_pronouns.html.php 104) 	);
source/structure/personal_pronouns.html.php 105) 	$table->generate();
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

source/structure/personal_pronouns.html.php 106)  ?>
Christian Fraß personal pronouns and infin...

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php   107) 	<p>For the flected and otherwise related forms of the personal pronouns see the section <a href="#declension">Declension</a>.</p>