2343 lines
53 KiB
PHP
2343 lines
53 KiB
PHP
<?php
|
|
|
|
return array(
|
|
'type' => 'MySQLProvider',
|
|
'host' => 'localhost',
|
|
'user' => 'root',
|
|
'password' => '8MW8zgD8EUqZaE',
|
|
'dbname' => 'choupas',
|
|
'encoding' => 'utf-8',
|
|
'name' => 'invalides',
|
|
'children' => array(
|
|
'Model' => array(
|
|
'ADMIN_menuitems' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'ADMIN_menuitems',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => 1,
|
|
'singular' => 'menuitem',
|
|
'plural' => 'menuitems',
|
|
'reference' => 'menuitem {name}',
|
|
),
|
|
'children' => array(
|
|
'View' => array(
|
|
'treize' => array(
|
|
'type' => 'View',
|
|
'file' => 'views/listEdit.html',
|
|
'list' => '+ actif:1 + new:1 + name:1 + url:1',
|
|
'edit' => '* - position',
|
|
),
|
|
'admin' => array(
|
|
'type' => 'View',
|
|
'file' => 'views/listEdit.html',
|
|
'list' => '+ actif:1 + new:1 + name:1 + url:1',
|
|
'edit' => '* - position',
|
|
),
|
|
),
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'menu' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'menu',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'menu',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'type' => 'relation',
|
|
'model' => 'ADMIN_menus',
|
|
'field' => 'id',
|
|
),
|
|
),
|
|
'parent' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'parent',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'parent',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'type' => 'relation',
|
|
'model' => 'ADMIN_menuitems',
|
|
'field' => 'id',
|
|
'query' => array(
|
|
'actif' => 1,
|
|
),
|
|
'nullable' => 1,
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'actif' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'actif',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'actif',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'boolean',
|
|
),
|
|
),
|
|
'new' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'new',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'new',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'boolean',
|
|
),
|
|
),
|
|
'name' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'name',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'name',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'url' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'url',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'url',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'ADMIN_menuitems',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
'menu' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'ADMIN_menuitems',
|
|
'name' => 'menu',
|
|
'unique' => false,
|
|
'fields' => array(
|
|
1 => 'menu',
|
|
'menu' => array(
|
|
'name' => 'menu',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'sort' => array(
|
|
0 => array(
|
|
0 => 'parent',
|
|
),
|
|
),
|
|
),
|
|
'ADMIN_menus' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'ADMIN_menus',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => 1,
|
|
'singular' => 'menu',
|
|
'plural' => 'menus',
|
|
'reference' => 'menu {name}',
|
|
),
|
|
'children' => array(
|
|
'View' => array(
|
|
'admin' => array(
|
|
'type' => 'View',
|
|
'file' => 'views/listEdit.html',
|
|
'list' => '+ name',
|
|
'edit' => '* - position',
|
|
'actions' => array(
|
|
0 => array(
|
|
'name' => 'elements',
|
|
'url' => '?request[view]=invalides.ADMIN_menuitems.admin&object[menu]={row.id}&object[parent]=0',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'name' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'name',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'name',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 32,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'ADMIN_menus',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'sort' => array(
|
|
0 => array(
|
|
),
|
|
),
|
|
),
|
|
'_MySQLTable' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => '_MySQLTable',
|
|
'extends' => '',
|
|
'children' => array(
|
|
'Service' => array(
|
|
'array' => array(
|
|
'type' => 'ArrayService',
|
|
),
|
|
'crud' => array(
|
|
'type' => 'MySQLServiceCRUD',
|
|
),
|
|
),
|
|
'View' => array(
|
|
'listEdit' => array(
|
|
'type' => 'View',
|
|
'file' => 'views/listEdit.html',
|
|
'list' => '*',
|
|
'edit' => '*',
|
|
),
|
|
'admin' => array(
|
|
'type' => 'View',
|
|
'file' => 'views/listEdit.html',
|
|
'list' => '*',
|
|
'edit' => '*',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'annexes' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'annexes',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'annexes',
|
|
'plural' => 'annexes',
|
|
),
|
|
'children' => array(
|
|
'View' => array(
|
|
'admin' => array(
|
|
'type' => 'View',
|
|
'file' => 'views/listEdit.html',
|
|
'list' => '* - position',
|
|
'edit' => '* - position',
|
|
'actions' => array(
|
|
0 => array(
|
|
'name' => 'contenu',
|
|
'url' => '?request[view]=invalides.annexesContents.admin&object[annexe]={row.id}',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'portrait' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'portrait',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'portrait',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'keypoint' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'keypoint',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'keypoint',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => -4294967297,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'titreChapitre' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'titreChapitre',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'titreChapitre',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'image' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'image',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'image',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'image',
|
|
),
|
|
),
|
|
'imageAlt' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imageAlt',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imageAlt',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'imageTitle' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imageTitle',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imageTitle',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'audioInterview' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'audioInterview',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'audioInterview',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'file',
|
|
),
|
|
),
|
|
'audioAmbiance' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'audioAmbiance',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'audioAmbiance',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'file',
|
|
),
|
|
),
|
|
'titre' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'titre',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'titre',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'chapo' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'chapo',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'chapo',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'text' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'text',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'text',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 0,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'richText',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'annexes',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
'portrait' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'annexes',
|
|
'name' => 'portrait',
|
|
'unique' => false,
|
|
'fields' => array(
|
|
1 => 'portrait',
|
|
'portrait' => array(
|
|
'name' => 'portrait',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'sort' => array(
|
|
0 => array(
|
|
0 => 'portrait',
|
|
),
|
|
),
|
|
),
|
|
'annexesContents' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'annexesContents',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'annexesContents',
|
|
'plural' => 'annexesContents',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'annexe' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'annexe',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'annexe',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'type' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'type',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'type',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'values' => array(
|
|
0 => 'texte',
|
|
1 => 'texteimage',
|
|
2 => 'image',
|
|
3 => 'diptyque',
|
|
4 => 'triptyque',
|
|
5 => 'quadriptyque',
|
|
6 => 'audio',
|
|
7 => 'audioimage',
|
|
8 => 'embed',
|
|
),
|
|
'desc' => array(
|
|
0 => 'texte',
|
|
1 => 'texteimage',
|
|
2 => 'image',
|
|
3 => 'diptyque',
|
|
4 => 'triptyque',
|
|
5 => 'quadriptyque',
|
|
6 => 'audio',
|
|
7 => 'audioimage',
|
|
8 => 'embed',
|
|
),
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'enum',
|
|
),
|
|
),
|
|
'titre' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'titre',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'titre',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'texte' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'texte',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'texte',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 0,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'richText',
|
|
),
|
|
),
|
|
'image1' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'image1',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'image1',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'image',
|
|
),
|
|
),
|
|
'legende1' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'legende1',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'legende1',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'image2' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'image2',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'image2',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'image',
|
|
),
|
|
),
|
|
'legende2' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'legende2',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'legende2',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'image3' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'image3',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'image3',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'image',
|
|
),
|
|
),
|
|
'legende3' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'legende3',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'legende3',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'image4' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'image4',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'image4',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'image',
|
|
),
|
|
),
|
|
'legende4' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'legende4',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'legende4',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'Imagecentree' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'Imagecentree',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'Imagecentree',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'legendeimagecentree' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'legendeimagecentree',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'legendeimagecentree',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'imagefull' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imagefull',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imagefull',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'legendeimagefull' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'legendeimagefull',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'legendeimagefull',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'Audio' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'Audio',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'Audio',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'file',
|
|
),
|
|
),
|
|
'URL' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'URL',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'URL',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'annexesContents',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
'annexe' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'annexesContents',
|
|
'name' => 'annexe',
|
|
'unique' => false,
|
|
'fields' => array(
|
|
1 => 'annexe',
|
|
'annexe' => array(
|
|
'name' => 'annexe',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'sort' => array(
|
|
0 => array(
|
|
0 => 'annexe',
|
|
),
|
|
),
|
|
),
|
|
'languages' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'languages',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'languages',
|
|
'plural' => 'languages',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'name' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'name',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'name',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => -4294967297,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'languages',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
'name' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'languages',
|
|
'name' => 'name',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'name',
|
|
'name' => array(
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'medias' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'medias',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'medias',
|
|
'plural' => 'medias',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'table' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'table',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'table',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'tableId' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'tableId',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'tableId',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 31,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'actif' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'actif',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'actif',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'boolean',
|
|
),
|
|
),
|
|
'image' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'image',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'image',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'image',
|
|
),
|
|
),
|
|
'imageAlt' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imageAlt',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imageAlt',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'imageTitle' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imageTitle',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imageTitle',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'medias',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'pages' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'pages',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'pages',
|
|
'plural' => 'pages',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'uid' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'uid',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'uid',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'template' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'template',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'template',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'model' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'model',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'model',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'query' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'query',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'query',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 1023,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'text',
|
|
),
|
|
),
|
|
'params' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'params',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'params',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 1023,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'text',
|
|
),
|
|
),
|
|
'nom' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'nom',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'nom',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'nomMenu' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'nomMenu',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'nomMenu',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'url' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'url',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'url',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'baliseTitle' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'baliseTitle',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'baliseTitle',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'baliseDescription' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'baliseDescription',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'baliseDescription',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'audio' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'audio',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'audio',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'file',
|
|
),
|
|
),
|
|
'titre' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'titre',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'titre',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'introduction' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'introduction',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'introduction',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 0,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'richText',
|
|
),
|
|
),
|
|
'chapo' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'chapo',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'chapo',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 0,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'richText',
|
|
),
|
|
),
|
|
'texte1' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'texte1',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'texte1',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 0,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'richText',
|
|
),
|
|
),
|
|
'texte2' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'texte2',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'texte2',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 0,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'richText',
|
|
),
|
|
),
|
|
'texte3' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'texte3',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'texte3',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 0,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'richText',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'pages',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'pages_details' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'pages_details',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'pages_details',
|
|
'plural' => 'pages_details',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'uid' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'uid',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'uid',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'template' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'template',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'template',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'model' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'model',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'model',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'query' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'query',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'query',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 1023,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'text',
|
|
),
|
|
),
|
|
'nom' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'nom',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'nom',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'url' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'url',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'url',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'pages_details',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'pages_medias' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'pages_medias',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'pages_medias',
|
|
'plural' => 'pages_medias',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'table' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'table',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'table',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'tableId' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'tableId',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'tableId',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'extensions' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'extensions',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'extensions',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 2047,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'text',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'pages_medias',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
'table' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'pages_medias',
|
|
'name' => 'table',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'table',
|
|
'table' => array(
|
|
'name' => 'table',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
2 => 'tableId',
|
|
'tableId' => array(
|
|
'name' => 'tableId',
|
|
'position' => 2,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'portraits' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'portraits',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'portraits',
|
|
'plural' => 'portraits',
|
|
),
|
|
'children' => array(
|
|
'View' => array(
|
|
'admin' => array(
|
|
'type' => 'View',
|
|
'file' => 'views/listEdit.html',
|
|
'list' => '* - position',
|
|
'edit' => '* - position',
|
|
'actions' => array(
|
|
0 => array(
|
|
'name' => 'annexe',
|
|
'url' => '?request[view]=invalides.annexes.admin&object[portrait]={row.id}',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'boutonDiapo' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'boutonDiapo',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'boutonDiapo',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'titre' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'titre',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'titre',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'chapo' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'chapo',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'chapo',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'texte' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'texte',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'texte',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 0,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'richText',
|
|
),
|
|
),
|
|
'imagePortrait' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imagePortrait',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imagePortrait',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'image',
|
|
),
|
|
),
|
|
'imagePortraitAlt' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imagePortraitAlt',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imagePortraitAlt',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'imagePortraitTitle' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imagePortraitTitle',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imagePortraitTitle',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'video' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'video',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'video',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'file',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'portraits',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'sort' => array(
|
|
0 => array(
|
|
),
|
|
),
|
|
),
|
|
'redirections' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'redirections',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'redirections',
|
|
'plural' => 'redirections',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'position' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'position',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'position',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'actif' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'actif',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'actif',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'boolean',
|
|
),
|
|
),
|
|
'status' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'status',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'status',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'values' => array(
|
|
0 => '301 Moved Permanently',
|
|
1 => '302 Found',
|
|
2 => '303 See Other',
|
|
3 => '307 Temporary Redirect',
|
|
4 => '308 Permanent Redirect',
|
|
),
|
|
'desc' => array(
|
|
0 => '301 Moved Permanently',
|
|
1 => '302 Found',
|
|
2 => '303 See Other',
|
|
3 => '307 Temporary Redirect',
|
|
4 => '308 Permanent Redirect',
|
|
),
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'enum',
|
|
),
|
|
),
|
|
'rule' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'rule',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'rule',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'values' => array(
|
|
0 => 'string',
|
|
1 => 'pattern',
|
|
),
|
|
'desc' => array(
|
|
0 => 'string',
|
|
1 => 'pattern',
|
|
),
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'enum',
|
|
),
|
|
),
|
|
'old' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'old',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'old',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'new' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'new',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'new',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 255,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'description' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'description',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'description',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 512,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'text',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'redirections',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'users' => array(
|
|
'type' => 'MySQLTable',
|
|
'name' => 'users',
|
|
'extends' => '_MySQLTable',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'users',
|
|
'plural' => 'users',
|
|
),
|
|
'children' => array(
|
|
'Field' => array(
|
|
'id' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'id',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'id',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'min' => 0,
|
|
'max' => 4294967296,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
'login' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'login',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'login',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 15,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'password' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'password',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'password',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 31,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
'level' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'level',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'level',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'values' => array(
|
|
0 => 'admin',
|
|
1 => 'root',
|
|
),
|
|
'desc' => array(
|
|
0 => 'admin',
|
|
1 => 'root',
|
|
),
|
|
'default' => array(
|
|
0 => '',
|
|
),
|
|
'null' => true,
|
|
'type' => 'enum',
|
|
),
|
|
),
|
|
'rootFolder' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'rootFolder',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'rootFolder',
|
|
'plural' => '',
|
|
),
|
|
'value' => array(
|
|
'minlength' => 0,
|
|
'maxlength' => 64,
|
|
'default' => null,
|
|
'null' => false,
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
'Index' => array(
|
|
'PRIMARY' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'users',
|
|
'name' => 'PRIMARY',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'id',
|
|
'id' => array(
|
|
'name' => 'id',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
'login' => array(
|
|
'type' => 'MySQLIndex',
|
|
'model' => 'users',
|
|
'name' => 'login',
|
|
'unique' => true,
|
|
'fields' => array(
|
|
1 => 'login',
|
|
'login' => array(
|
|
'name' => 'login',
|
|
'position' => 1,
|
|
'op' => '=',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'Role' => array(
|
|
),
|
|
),
|
|
)
|
|
|
|
?>
|