source: spip-zone/_plugins_/selection_d_articles/selection_d_articles_3/base/pb_selection_install.php @ 65113

Last change on this file since 65113 was 65113, checked in by arno@…, 7 years ago

Ajout de Sélection d'articles V3

File size: 617 bytes
Line 
1<?php
2
3//
4// Formulaires : Structure
5//
6if (!defined("_ECRIRE_INC_VERSION")) return;
7
8function pb_selection_declarer_tables_principales($tables_principales){
9       
10
11        $spip_pb_selection = array(
12                "id_rubrique"   => "bigint(21) NOT NULL",
13                "id_article"    => "bigint(21) NOT NULL",
14                "ordre"         => "bigint(21) NOT NULL",
15                "maj"           => "TIMESTAMP");
16       
17        $spip_pb_selection_key = array(
18                "PRIMARY KEY"   => "id_rubrique, id_article"
19                );
20       
21        $tables_principales['spip_pb_selection'] = array(
22                'field' => &$spip_pb_selection,
23                'key' => &$spip_pb_selection_key);
24        return $tables_principales;
25       
26        }
27
28
29?>
Note: See TracBrowser for help on using the repository browser.