aboutsummaryrefslogtreecommitdiff
path: root/app/class/Model.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-03-23 16:19:48 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-03-23 16:26:48 +0100
commit7d1b16dce7e435caefd39975ca68a08c4f79fc03 (patch)
treeb075ed8e9531bce23845eba0b9fef585901ebde1 /app/class/Model.php
parent73e2d40ee0d82c9d68eca8db35b323db77eb5713 (diff)
downloadwcms-7d1b16dce7e435caefd39975ca68a08c4f79fc03.tar.gz
wcms-7d1b16dce7e435caefd39975ca68a08c4f79fc03.zip
map integration in home
Diffstat (limited to 'app/class/Model.php')
-rw-r--r--app/class/Model.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/class/Model.php b/app/class/Model.php
index 5847f74..ae56c2f 100644
--- a/app/class/Model.php
+++ b/app/class/Model.php
@@ -20,6 +20,14 @@ abstract class Model
const GLOBAL_DIR = 'assets'. DIRECTORY_SEPARATOR . 'global' . DIRECTORY_SEPARATOR;
const DATABASE_DIR = '.' . DIRECTORY_SEPARATOR . 'database' . DIRECTORY_SEPARATOR;
const PAGES_DIR = self::DATABASE_DIR . 'pages' . DIRECTORY_SEPARATOR;
+
+ const MAP_LAYOUTS = [
+ 'cose' => 'cose',
+ 'circle' => 'circle',
+ 'random' => 'random',
+ 'cose-bilkent' => 'cose-bilkent'
+ ];
+
const MEDIA_EXT = [
'jpg' => 'image',