5da1fdb36808b6ca63ab2d114abb788ca9571531
fenris foo

fenris authored 7 years ago

source/structure/correlatives.html.php  1) <?php
source/structure/correlatives.html.php  2) 	include_once("source/logic/server/data.php");
source/structure/correlatives.html.php  3) 	include_once("source/logic/server/table.php");
bfadmin-master advanced

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php  4) 	include_once("source/logic/server/misc.php");
bfadmin-master fancy table-stuff, woohoo!

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php  5) 	include_once("source/logic/server/sql.php");
fenris foo

fenris authored 7 years ago

source/structure/correlatives.html.php  6)  ?>
bfadmin-master advanced

bfadmin-master authored 7 years ago

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

Fenris Wolf authored 7 years ago

source/structure/correlatives.html.php  8) 	<header>Correlatives</header>
Christian Fraß personal pronouns and infin...

Christian Fraß authored 7 years ago

source/content/correlatives.html.php    9) 	<?php proposal(); ?>
fenris foo

fenris authored 7 years ago

source/structure/correlatives.html.php 10) <?php
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   11) 	$data_correlatives = read_json("source/data/correlatives.json");
source/content/correlatives.html.php   12) 	$data = $data_correlatives["words"];
bfadmin-master advanced

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php 13) 	{
bfadmin-master fancy table-stuff, woohoo!

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php 14) 		{
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   15) 			$data = sql_cross($data, $data_correlatives["domains"]);
source/content/correlatives.html.php   16) 			$data = sql_select($data, function ($row) {return ($row["domain_id"] == $row["id"]);});
source/content/correlatives.html.php   17) 			$data = sql_delete($data, ["domain_id", "id"]);
source/content/correlatives.html.php   18) 			$data = sql_rename($data, "name", "domain_name");
bfadmin-master fancy table-stuff, woohoo!

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php 19) 		}
source/structure/correlatives.html.php 20) 		{
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   21) 			$data = sql_cross($data, $data_correlatives["types"]);
source/content/correlatives.html.php   22) 			$data = sql_select($data, function ($row) {return ($row["type_id"] == $row["id"]);});
source/content/correlatives.html.php   23) 			$data = sql_delete($data, ["type_id", "id"]);
source/content/correlatives.html.php   24) 			$data = sql_rename($data, "name", "type_name");
bfadmin-master fancy table-stuff, woohoo!

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php 25) 		}
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   26) 	}
source/content/correlatives.html.php   27) 	
source/content/correlatives.html.php   28) 	$table = new class_table
source/content/correlatives.html.php   29) 	(
source/content/correlatives.html.php   30) 		[
source/content/correlatives.html.php   31) 			new class_column("Language", "language_id"),
source/content/correlatives.html.php   32) 			new class_column("Domain", "domain_name"),
source/content/correlatives.html.php   33) 			new class_column("Type", "type_name"),
source/content/correlatives.html.php   34) 			new class_column("Words", "words", function ($x) {return json_encode($x);}),
source/content/correlatives.html.php   35) 		],
source/content/correlatives.html.php   36) 		$data
source/content/correlatives.html.php   37) 	);
source/content/correlatives.html.php   38) 	$table = $table->snap
source/content/correlatives.html.php   39) 	(
source/content/correlatives.html.php   40) 		[
source/content/correlatives.html.php   41) 			"label_vertical" => function ($column) {return "";},
source/content/correlatives.html.php   42) 			"columns_vertical" =>
source/content/correlatives.html.php   43) 			[
source/content/correlatives.html.php   44) 				$table->columns_get()[1],
source/content/correlatives.html.php   45) 			],
source/content/correlatives.html.php   46) 			"label_horizontal" => function ($column, $value) {return $value;},
source/content/correlatives.html.php   47) 			"columns_horizontal" =>
source/content/correlatives.html.php   48) 			[
source/content/correlatives.html.php   49) 				$table->columns_get()[2],
source/content/correlatives.html.php   50) 			],
source/content/correlatives.html.php   51) 			"columns_data" =>
source/content/correlatives.html.php   52) 			[
source/content/correlatives.html.php   53) 				$table->columns_get()[3],
source/content/correlatives.html.php   54) 			],
source/content/correlatives.html.php   55) 			"data_aggregator" => function ($values)
bfadmin-master minor changes

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php 56) 			{
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   57) 				return $values;
source/content/correlatives.html.php   58) 			},
source/content/correlatives.html.php   59) 			"data_formatter" => function ($value)
bfadmin-master minor changes

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php 60) 			{
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   61) 				return (
source/content/correlatives.html.php   62) 					_bar("word")
bfadmin-master fancy table-stuff, woohoo!

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php 63) 					(
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   64) 						[
source/content/correlatives.html.php   65) 							"original" => $value[0]["words"],
source/content/correlatives.html.php   66) 							"translated" => $value[1]["words"],
source/content/correlatives.html.php   67) 						]
bfadmin-master fancy table-stuff, woohoo!

bfadmin-master authored 7 years ago

source/structure/correlatives.html.php 68) 					)
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   69) 				);
source/content/correlatives.html.php   70) 				return json_encode($value);
source/content/correlatives.html.php   71) 			},
source/content/correlatives.html.php   72) 		]
source/content/correlatives.html.php   73) 	);
source/content/correlatives.html.php   74) 	$table->generate();
fenris foo

fenris authored 7 years ago

source/structure/correlatives.html.php 75)  ?>
Christian Fraß included developer-notes; a...

Christian Fraß authored 7 years ago

source/content/correlatives.html.php   76) 	<div class="note note_information">
source/content/correlatives.html.php   77) 		<span class="note_content">
source/content/correlatives.html.php   78) 			<p>Some of these words are very unlikely to ever get used (e.g. <span class="word lang_fs">ni slag</span>). Nevertheless they exist and are listed for completeness.</p>
source/content/correlatives.html.php   79) 		</span>
source/content/correlatives.html.php   80) 	</div>