'MySQLTable', 'name' => 'annexes', 'extends' => '_MySQLTable', 'desc' => array( 'gender' => null, 'singular' => 'annexes', 'plural' => 'annexes', ), 'sort' => [['portrait']], '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( 'position' => 1, 'op' => '=', ), ), ), 'portrait' => array( 'type' => 'MySQLIndex', 'model' => 'annexes', 'name' => 'portrait', 'unique' => false, 'fields' => array( 1 => 'portrait', 'portrait' => array( 'position' => 1, 'op' => '=', ), ), ), ), ), ) ?>