$tables_auxiliaires['spip_mots_liens'] =
array('field' => &$spip_mots_liens, 'key' => &$spip_mots_liens_key);
-
+
return $tables_auxiliaires;
}
*/
function mots_declarer_tables_objets_sql($tables){
$tables['spip_mots'] = array(
- 'type'=>'mot',
+ 'type' => 'mot',
'type_surnoms' => array('mot-cle'), // pour les icones...
'texte_retour' => 'icone_retour',
'texte_objets' => 'public:mots_clefs',
$tables['spip_groupes_mots'] = array(
'table_objet_surnoms' => array('groupemot','groupe_mots' /*hum*/,'groupe_mot' /* hum*/,'groupe' /*hum (EXPOSE)*/),
'type'=>'groupe_mots',
- 'type_surnoms' => array('groupes_mot','groupemot','groupe_mot'),
+ 'type_surnoms' => array('groupes_mot','groupemot','groupe_mot'),
'texte_retour' => 'icone_retour',
'texte_objets' => 'mots:titre_groupes_mots',
'texte_objet' => 'mots:titre_groupe_mots',
"PRIMARY KEY" => "id_groupe"
),
'rechercher_champs' => array(
- 'titre' => 8, 'texte' => 1, 'descriptif' => 5
+ 'titre' => 8, 'texte' => 1, 'descriptif' => 5
),
'tables_jointures' => array(
'mots'
$tables['spip_mots']['tables_jointures'][]= 'mots_liens';
$tables['spip_mots']['tables_jointures'][]= 'mots';
-
// recherche jointe sur les mots pour tous les objets
$tables[]['rechercher_jointures']['mot'] = array('titre' => 3);
// versionner les jointures pour tous les objets