459c086857bcaa39df6507386c7f301d4fe78988
Fenris Wolf advanced

Fenris Wolf authored 7 years ago

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

fenris authored 7 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 7 years ago

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

fenris authored 7 years ago

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

Fenris Wolf authored 7 years ago

source/structure/personal_pronouns.html.php   6) 
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php     7) /*
fenris foo

fenris authored 7 years ago

source/structure/personal_pronouns.html.php   8) function convert_persona($persona) {return [0 => "impersonal", 1 => "1st person", 2 => "2nd person", 3 => "3rd person"][$persona];}
source/structure/personal_pronouns.html.php   9) function convert_numerus($numerus) {return [0 => null, 1 => "singular", 2 => "plural"][$numerus];}
source/structure/personal_pronouns.html.php  10) function convert_genus($genus) {return [0 => "common", 1 => "masculine", 2 => "feminine", 3 => "neuter"][$genus];}
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    11)  */
Fenris Wolf advanced

Fenris Wolf authored 7 years ago

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

bfadmin-master authored 7 years ago

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

Fenris Wolf authored 7 years ago

source/structure/personal_pronouns.html.php  14) 	<header>Personal Pronouns</header>
source/structure/personal_pronouns.html.php  15) <?php
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    16) 	$data_common = read_json("source/data/common.json");
source/content/personal_pronouns.html.php    17) 	$data_pronouns = read_json("source/data/personal_pronouns.json");
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    18) 	
source/content/personal_pronouns.html.php    19) 	$data = $data_pronouns["words"];
source/content/personal_pronouns.html.php    20) 	{
source/content/personal_pronouns.html.php    21) 		{
source/content/personal_pronouns.html.php    22) 			$data = sql_cross($data, $data_common["counts"]);
source/content/personal_pronouns.html.php    23) 			$data = sql_select($data, function ($row) {return ($row["count_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    24) 			$data = sql_delete($data, ["count_id", "id"]);
source/content/personal_pronouns.html.php    25) 			$data = sql_rename($data, "name", "count_name");
source/content/personal_pronouns.html.php    26) 		}
source/content/personal_pronouns.html.php    27) 		{
source/content/personal_pronouns.html.php    28) 			$data = sql_cross($data, $data_common["persons"]);
source/content/personal_pronouns.html.php    29) 			$data = sql_select($data, function ($row) {return ($row["person_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    30) 			$data = sql_delete($data, ["person_id", "id"]);
source/content/personal_pronouns.html.php    31) 			$data = sql_rename($data, "name", "person_name");
source/content/personal_pronouns.html.php    32) 		}
source/content/personal_pronouns.html.php    33) 		{
source/content/personal_pronouns.html.php    34) 			$data = sql_cross($data, $data_common["genders"]);
source/content/personal_pronouns.html.php    35) 			$data = sql_select($data, function ($row) {return ($row["gender_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    36) 			$data = sql_delete($data, ["gender_id", "id"]);
source/content/personal_pronouns.html.php    37) 			$data = sql_rename($data, "name", "gender_name");
source/content/personal_pronouns.html.php    38) 		}
source/content/personal_pronouns.html.php    39) 		{
source/content/personal_pronouns.html.php    40) 			$data = sql_cross($data, $data_pronouns["types"]);
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    41) 			/*
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    42) 			$data = sql_select($data, function ($row) {return ($row["type_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    43) 			$data = sql_delete($data, ["type_id", "id"]);
source/content/personal_pronouns.html.php    44) 			$data = sql_rename($data, "name", "type_name");
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    45) 			 */
source/content/personal_pronouns.html.php    46) 			$data = sql_rename($data, "type_id", "type_name");
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    47) 		}
source/content/personal_pronouns.html.php    48) 		{
source/content/personal_pronouns.html.php    49) 			$data = sql_cross($data, $data_common["cases"]);
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    50) 			/*
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    51) 			$data = sql_select($data, function ($row) {return ($row["case_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    52) 			$data = sql_delete($data, ["case_id", "id"]);
source/content/personal_pronouns.html.php    53) 			$data = sql_rename($data, "name", "case_name");
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    54) 			 */
source/content/personal_pronouns.html.php    55) 			$data = sql_rename($data, "case_id", "case_name");
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    56) 		}
source/content/personal_pronouns.html.php    57) 	}
source/content/personal_pronouns.html.php    58) 	
fenris foo

fenris authored 7 years ago

source/structure/personal_pronouns.html.php  59) 	$table = new class_table
source/structure/personal_pronouns.html.php  60) 	(
source/structure/personal_pronouns.html.php  61) 		[
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    62) 			new class_column("Language", "language_id"),
source/content/personal_pronouns.html.php    63) 			new class_column("Count", "count_name"),
source/content/personal_pronouns.html.php    64) 			new class_column("Person", "person_name"),
source/content/personal_pronouns.html.php    65) 			new class_column("Gender", "gender_name"),
source/content/personal_pronouns.html.php    66) 			new class_column("Type", "type_name"),
source/content/personal_pronouns.html.php    67) 			new class_column("Case", "case_name"),
source/content/personal_pronouns.html.php    68) 			new class_column("Words", "words", function ($x) {return json_encode($x);}),
fenris foo

fenris authored 7 years ago

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

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    70) 		$data
source/content/personal_pronouns.html.php    71) 	);
source/content/personal_pronouns.html.php    72) 	
source/content/personal_pronouns.html.php    73) 	$table = $table->snap
source/content/personal_pronouns.html.php    74) 	(
source/content/personal_pronouns.html.php    75) 		[
source/content/personal_pronouns.html.php    76) 			"label_vertical" => function ($column) {return "";},
source/content/personal_pronouns.html.php    77) 			"columns_vertical" =>
source/content/personal_pronouns.html.php    78) 			[
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    79) 				$table->columns_get()[1],
source/content/personal_pronouns.html.php    80) 				$table->columns_get()[2],
source/content/personal_pronouns.html.php    81) 				$table->columns_get()[3],
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    82) 			],
source/content/personal_pronouns.html.php    83) 			"label_horizontal" => function ($column, $value) {return $value;},
source/content/personal_pronouns.html.php    84) 			"columns_horizontal" =>
source/content/personal_pronouns.html.php    85) 			[
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    86) 				$table->columns_get()[4],
source/content/personal_pronouns.html.php    87) 				$table->columns_get()[5],
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    88) 			],
source/content/personal_pronouns.html.php    89) 			"columns_data" =>
source/content/personal_pronouns.html.php    90) 			[
source/content/personal_pronouns.html.php    91) 				$table->columns_get()[0],
source/content/personal_pronouns.html.php    92) 				$table->columns_get()[6],
source/content/personal_pronouns.html.php    93) 			],
source/content/personal_pronouns.html.php    94) 			"data_aggregator" => function ($values)
source/content/personal_pronouns.html.php    95) 			{
source/content/personal_pronouns.html.php    96) 				return $values;
source/content/personal_pronouns.html.php    97) 			},
source/content/personal_pronouns.html.php    98) 			"data_formatter" => function ($value)
source/content/personal_pronouns.html.php    99) 			{
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   100) 				switch (-1)
source/content/personal_pronouns.html.php   101) 				{
source/content/personal_pronouns.html.php   102) 					case 0:
source/content/personal_pronouns.html.php   103) 					{
source/content/personal_pronouns.html.php   104) 						return _baz($value[0]["words"], "word", "fs");
source/content/personal_pronouns.html.php   105) 						// break;
source/content/personal_pronouns.html.php   106) 					}
source/content/personal_pronouns.html.php   107) 					case 1:
source/content/personal_pronouns.html.php   108) 					{
source/content/personal_pronouns.html.php   109) 						return (
source/content/personal_pronouns.html.php   110) 							_bar("word")
source/content/personal_pronouns.html.php   111) 							(
source/content/personal_pronouns.html.php   112) 								[
source/content/personal_pronouns.html.php   113) 									"original" => $value[0]["words"],
source/content/personal_pronouns.html.php   114) 									"translated" => $value[1]["words"],
source/content/personal_pronouns.html.php   115) 								]
source/content/personal_pronouns.html.php   116) 							)
source/content/personal_pronouns.html.php   117) 						);
source/content/personal_pronouns.html.php   118) 						// break;
source/content/personal_pronouns.html.php   119) 					}
source/content/personal_pronouns.html.php   120) 					default:
source/content/personal_pronouns.html.php   121) 					{
source/content/personal_pronouns.html.php   122) 						return json_encode($value);
source/content/personal_pronouns.html.php   123) 						// break;
source/content/personal_pronouns.html.php   124) 					}
source/content/personal_pronouns.html.php   125) 				}
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   126) 			},
source/content/personal_pronouns.html.php   127) 		]
fenris foo

fenris authored 7 years ago

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

Fenris Wolf authored 7 years ago

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

Christian Fraß authored 7 years ago

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