server/src/config/constants.php
changeset 2 00e2916104fe
child 19 eadaf0b8f02e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/src/config/constants.php	Tue Jun 23 17:01:39 2015 +0200
@@ -0,0 +1,62 @@
+<?php
+
+return [
+
+    'VERSION' => [0,0,0,'alpha',1],
+
+    'OLAC_DISCOURSE_TYPE' => [
+        'uri' => 'http://www.language-archives.org/OLAC/1.1/discourse-type',
+        'values' => [
+            [
+                'code' => 'dialogue',
+                'name' => 'Dialogue',
+            ],
+
+            [
+                'code' => 'drama',
+                'name' => 'Drama',
+            ],
+
+            [
+                'code' => 'formulaic',
+                'name' => 'Formulaic Discourse',
+            ],
+
+            [
+                'code' => 'ludic',
+                'name' => 'Ludic Discourse',
+            ],
+            [
+                'code' => 'oratory',
+                'name' => 'Oratory',
+            ],
+
+            [
+                'code' => 'narrative',
+                'name' => 'Narrative Discourse',
+            ],
+
+            [
+                'code' => 'procedural',
+                'name' => 'Procedural Discourse',
+            ],
+
+            [
+                'code' => 'report',
+                'name' => 'Report',
+            ],
+
+            [
+                'code' => 'singing',
+                'name' => 'Singing',
+            ],
+
+            [
+                'code' => 'unintelligible_speech',
+                'name' => 'Unintelligible Speech',
+            ]
+        ]
+
+    ]
+
+];