Files
contao-leaflet-maps/src/Bundle/Resources/contao/dca/tl_leaflet_map_layer.php

42 lines
1.1 KiB
PHP
Raw Normal View History

2015-01-09 22:33:57 +01:00
<?php
2015-01-12 19:03:29 +01:00
/**
2017-10-05 15:45:43 +02:00
* Leaflet maps for Contao CMS.
*
2016-10-11 10:40:15 +02:00
* @package contao-leaflet-maps
2015-01-12 19:03:29 +01:00
* @author David Molineus <david.molineus@netzmacht.de>
2017-10-11 15:00:48 +02:00
* @copyright 2014-2017 netzmacht David Molineus. All rights reserved.
2017-10-05 15:45:43 +02:00
* @license LGPL-3.0 https://github.com/netzmacht/contao-leaflet-maps/blob/master/LICENSE
2015-01-12 19:03:29 +01:00
* @filesource
*/
2017-10-09 16:54:32 +02:00
$GLOBALS['TL_DCA']['tl_leaflet_map_layer'] = [
'config' => [
'dataContainer' => 'Table',
'sql' => [
'keys' => [
2015-01-09 22:33:57 +01:00
'id' => 'primary',
'mid,lid' => 'unique',
2017-10-09 16:54:32 +02:00
],
],
],
2015-01-09 22:33:57 +01:00
2017-10-09 16:54:32 +02:00
'fields' => [
'id' => [
'sql' => 'int(10) unsigned NOT NULL auto_increment',
],
'tstamp' => [
'sql' => "int(10) unsigned NOT NULL default '0'",
],
'sorting' => [
'sql' => "int(10) unsigned NOT NULL default '0'",
],
'mid' => [
'sql' => "int(10) unsigned NOT NULL default '0'",
],
'lid' => [
'sql' => "int(10) unsigned NOT NULL default '0'",
],
],
];