330 lines
6.5 KiB
PHP
Executable File
330 lines
6.5 KiB
PHP
Executable File
<?php
|
|
|
|
return 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' => '',
|
|
),
|
|
),
|
|
'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' => '',
|
|
),
|
|
),
|
|
'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' => '',
|
|
),
|
|
),
|
|
'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' => '',
|
|
),
|
|
),
|
|
'Imagecentree' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'Imagecentree',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'Imagecentree',
|
|
'plural' => '',
|
|
),
|
|
),
|
|
'legendeimagecentree' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'legendeimagecentree',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'legendeimagecentree',
|
|
'plural' => '',
|
|
),
|
|
),
|
|
'imagefull' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'imagefull',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'imagefull',
|
|
'plural' => '',
|
|
),
|
|
),
|
|
'legendeimagefull' => array(
|
|
'type' => 'MySQLField',
|
|
'name' => 'legendeimagefull',
|
|
'desc' => array(
|
|
'gender' => null,
|
|
'singular' => 'legendeimagefull',
|
|
'plural' => '',
|
|
),
|
|
),
|
|
'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' => '',
|
|
),
|
|
),
|
|
),
|
|
'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',
|
|
),
|
|
),
|
|
)
|
|
|
|
?>
|