f6c51a47c71265ca40137c2983322ab85bdfe919
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) 
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

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

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

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

Fenris Wolf authored 8 years ago

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

bfadmin-master authored 8 years ago

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

Fenris Wolf authored 8 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 8 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 8 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) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    22) 			if (false)
source/content/personal_pronouns.html.php    23) 			{
source/content/personal_pronouns.html.php    24) 				$data = sql_cross($data, $data_common["counts"]);
source/content/personal_pronouns.html.php    25) 				$data = sql_select($data, function ($row) {return ($row["count_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    26) 				$data = sql_delete($data, ["count_id", "id"]);
source/content/personal_pronouns.html.php    27) 				$data = sql_rename($data, "name", "count_name");
source/content/personal_pronouns.html.php    28) 			}
source/content/personal_pronouns.html.php    29) 			else
source/content/personal_pronouns.html.php    30) 			{
source/content/personal_pronouns.html.php    31) 				$data = sql_rename($data, "count_id", "count_name");
source/content/personal_pronouns.html.php    32) 			}
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    33) 		}
source/content/personal_pronouns.html.php    34) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    35) 			if (false)
source/content/personal_pronouns.html.php    36) 			{
source/content/personal_pronouns.html.php    37) 				$data = sql_cross($data, $data_common["persons"]);
source/content/personal_pronouns.html.php    38) 				$data = sql_select($data, function ($row) {return ($row["person_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    39) 				$data = sql_delete($data, ["person_id", "id"]);
source/content/personal_pronouns.html.php    40) 				$data = sql_rename($data, "name", "person_name");
source/content/personal_pronouns.html.php    41) 			}
source/content/personal_pronouns.html.php    42) 			else
source/content/personal_pronouns.html.php    43) 			{
source/content/personal_pronouns.html.php    44) 				$data = sql_rename($data, "person_id", "person_name");
source/content/personal_pronouns.html.php    45) 			}
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    46) 		}
source/content/personal_pronouns.html.php    47) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    48) 			if (false)
source/content/personal_pronouns.html.php    49) 			{
source/content/personal_pronouns.html.php    50) 				$data = sql_cross($data, $data_common["genders"]);
source/content/personal_pronouns.html.php    51) 				$data = sql_select($data, function ($row) {return ($row["gender_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    52) 				$data = sql_delete($data, ["gender_id", "id"]);
source/content/personal_pronouns.html.php    53) 				$data = sql_rename($data, "name", "gender_name");
source/content/personal_pronouns.html.php    54) 			}
source/content/personal_pronouns.html.php    55) 			else
source/content/personal_pronouns.html.php    56) 			{
source/content/personal_pronouns.html.php    57) 				$data = sql_rename($data, "gender_id", "gender_name");
source/content/personal_pronouns.html.php    58) 			}
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    59) 		}
source/content/personal_pronouns.html.php    60) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    61) 			if (false)
source/content/personal_pronouns.html.php    62) 			{
source/content/personal_pronouns.html.php    63) 				$data = sql_cross($data, $data_pronouns["types"]);
source/content/personal_pronouns.html.php    64) 				$data = sql_select($data, function ($row) {return ($row["type_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    65) 				$data = sql_delete($data, ["type_id", "id"]);
source/content/personal_pronouns.html.php    66) 				$data = sql_rename($data, "name", "type_name");
source/content/personal_pronouns.html.php    67) 			}
source/content/personal_pronouns.html.php    68) 			else
source/content/personal_pronouns.html.php    69) 			{
source/content/personal_pronouns.html.php    70) 				$data = sql_rename($data, "type_id", "type_name");
source/content/personal_pronouns.html.php    71) 			}
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    72) 		}
source/content/personal_pronouns.html.php    73) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    74) 			if (false)
source/content/personal_pronouns.html.php    75) 			{
source/content/personal_pronouns.html.php    76) 				$data = sql_cross($data, $data_common["cases"]);
source/content/personal_pronouns.html.php    77) 				$data = sql_select($data, function ($row) {return ($row["case_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    78) 				$data = sql_delete($data, ["case_id", "id"]);
source/content/personal_pronouns.html.php    79) 				$data = sql_rename($data, "name", "case_name");
source/content/personal_pronouns.html.php    80) 			}
source/content/personal_pronouns.html.php    81) 			else
source/content/personal_pronouns.html.php    82) 			{
source/content/personal_pronouns.html.php    83) 				$data = sql_rename($data, "case_id", "case_name");
source/content/personal_pronouns.html.php    84) 			}
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    85) 		}
source/content/personal_pronouns.html.php    86) 	}
source/content/personal_pronouns.html.php    87) 	
Christian Fraß improved look of pronoun-table

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    88) 	{
source/content/personal_pronouns.html.php    89) 		// $data = sql_select($data, function ($row) {return ($row["case_name"] != "pos");});
source/content/personal_pronouns.html.php    90) 	}
source/content/personal_pronouns.html.php    91) 	
fenris foo

fenris authored 8 years ago

source/structure/personal_pronouns.html.php  92) 	$table = new class_table
source/structure/personal_pronouns.html.php  93) 	(
source/structure/personal_pronouns.html.php  94) 		[
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php    95) 			new class_column("Language", "language_id"),
source/content/personal_pronouns.html.php    96) 			new class_column("Count", "count_name"),
source/content/personal_pronouns.html.php    97) 			new class_column("Person", "person_name"),
source/content/personal_pronouns.html.php    98) 			new class_column("Gender", "gender_name"),
source/content/personal_pronouns.html.php    99) 			new class_column("Type", "type_name"),
source/content/personal_pronouns.html.php   100) 			new class_column("Case", "case_name"),
source/content/personal_pronouns.html.php   101) 			new class_column("Words", "words", function ($x) {return json_encode($x);}),
fenris foo

fenris authored 8 years ago

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

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php   103) 		$data
source/content/personal_pronouns.html.php   104) 	);
source/content/personal_pronouns.html.php   105) 	
source/content/personal_pronouns.html.php   106) 	$table = $table->snap
source/content/personal_pronouns.html.php   107) 	(
source/content/personal_pronouns.html.php   108) 		[
source/content/personal_pronouns.html.php   109) 			"label_vertical" => function ($column) {return "";},
source/content/personal_pronouns.html.php   110) 			"columns_vertical" =>
source/content/personal_pronouns.html.php   111) 			[
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

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

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php   115) 			],
source/content/personal_pronouns.html.php   116) 			"label_horizontal" => function ($column, $value) {return $value;},
source/content/personal_pronouns.html.php   117) 			"columns_horizontal" =>
source/content/personal_pronouns.html.php   118) 			[
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

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

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php   121) 			],
source/content/personal_pronouns.html.php   122) 			"columns_data" =>
source/content/personal_pronouns.html.php   123) 			[
source/content/personal_pronouns.html.php   124) 				$table->columns_get()[0],
source/content/personal_pronouns.html.php   125) 				$table->columns_get()[6],
source/content/personal_pronouns.html.php   126) 			],
source/content/personal_pronouns.html.php   127) 			"data_aggregator" => function ($values)
source/content/personal_pronouns.html.php   128) 			{
source/content/personal_pronouns.html.php   129) 				return $values;
source/content/personal_pronouns.html.php   130) 			},
source/content/personal_pronouns.html.php   131) 			"data_formatter" => function ($value)
source/content/personal_pronouns.html.php   132) 			{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php   133) 				switch (1)
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php   134) 				{
source/content/personal_pronouns.html.php   135) 					case 0:
source/content/personal_pronouns.html.php   136) 					{
source/content/personal_pronouns.html.php   137) 						return _baz($value[0]["words"], "word", "fs");
source/content/personal_pronouns.html.php   138) 						// break;
source/content/personal_pronouns.html.php   139) 					}
source/content/personal_pronouns.html.php   140) 					case 1:
source/content/personal_pronouns.html.php   141) 					{
source/content/personal_pronouns.html.php   142) 						return (
source/content/personal_pronouns.html.php   143) 							_bar("word")
source/content/personal_pronouns.html.php   144) 							(
source/content/personal_pronouns.html.php   145) 								[
source/content/personal_pronouns.html.php   146) 									"original" => $value[0]["words"],
source/content/personal_pronouns.html.php   147) 									"translated" => $value[1]["words"],
source/content/personal_pronouns.html.php   148) 								]
source/content/personal_pronouns.html.php   149) 							)
source/content/personal_pronouns.html.php   150) 						);
source/content/personal_pronouns.html.php   151) 						// break;
source/content/personal_pronouns.html.php   152) 					}
source/content/personal_pronouns.html.php   153) 					default:
source/content/personal_pronouns.html.php   154) 					{
source/content/personal_pronouns.html.php   155) 						return json_encode($value);
source/content/personal_pronouns.html.php   156) 						// break;
source/content/personal_pronouns.html.php   157) 					}
source/content/personal_pronouns.html.php   158) 				}
Christian Fraß better table-snap

Christian Fraß authored 8 years ago

source/content/personal_pronouns.html.php   159) 			},
source/content/personal_pronouns.html.php   160) 		]
fenris foo

fenris authored 8 years ago

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

Fenris Wolf authored 8 years ago

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

Christian Fraß authored 8 years ago

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