/[drupal]/contributions/modules/category/category_display/category_display.install
ViewVC logotype

Diff of /contributions/modules/category/category_display/category_display.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9, Mon Jul 21 17:48:50 2008 UTC revision 1.10, Wed Aug 5 04:52:54 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: category_display.install,v 1.9 2008/07/21 17:48:50 jaza Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 27  function category_display_uninstall() { Line 27  function category_display_uninstall() {
27   */   */
28  function category_display_schema() {  function category_display_schema() {
29    $schema['category_display'] = array(    $schema['category_display'] = array(
30      'description' => t('Stores display settings for containers.'),      'description' => 'Stores display settings for containers.',
31      'fields' => array(      'fields' => array(
32        'cid' => array(        'cid' => array(
33          'type' => 'int',          'type' => 'int',
34          'unsigned' => TRUE,          'unsigned' => TRUE,
35          'not null' => TRUE,          'not null' => TRUE,
36          'default' => 0,          'default' => 0,
37          'description' => t('Primary Key: The {category}.cid of the container.'),          'description' => 'Primary Key: The {category}.cid of the container.',
38        ),        ),
39        'navlinks' => array(        'navlinks' => array(
40          'type' => 'int',          'type' => 'int',
# Line 42  function category_display_schema() { Line 42  function category_display_schema() {
42          'unsigned' => TRUE,          'unsigned' => TRUE,
43          'not null' => TRUE,          'not null' => TRUE,
44          'default' => 0,          'default' => 0,
45            'description' => 'Whether or not navigation links (prev/next/up) should be shown on category pages within this container.',
46        ),        ),
47        'toc_for_cats' => array(        'toc_for_cats' => array(
48          'type' => 'int',          'type' => 'int',
# Line 49  function category_display_schema() { Line 50  function category_display_schema() {
50          'unsigned' => TRUE,          'unsigned' => TRUE,
51          'not null' => TRUE,          'not null' => TRUE,
52          'default' => 0,          'default' => 0,
53            'description' => 'Whether or not the Table-of-contents tree should be shown on category pages within this container.',
54        ),        ),
55        'toc_depth' => array(        'toc_depth' => array(
56          'type' => 'int',          'type' => 'int',
57          'size' => 'small',          'size' => 'small',
58          'not null' => TRUE,          'not null' => TRUE,
59          'default' => 0,          'default' => 0,
60            'description' => 'Depth of the Table-of-contents tree (-1 for infinite).',
61        ),        ),
62        'toc_nodecount' => array(        'toc_nodecount' => array(
63          'type' => 'int',          'type' => 'int',
# Line 62  function category_display_schema() { Line 65  function category_display_schema() {
65          'unsigned' => TRUE,          'unsigned' => TRUE,
66          'not null' => TRUE,          'not null' => TRUE,
67          'default' => 0,          'default' => 0,
68            'description' => 'Whether or not the Table-of-contents tree should show counts of assigned nodes.',
69        ),        ),
70        'nodelinks' => array(        'nodelinks' => array(
71          'type' => 'int',          'type' => 'int',
# Line 69  function category_display_schema() { Line 73  function category_display_schema() {
73          'unsigned' => TRUE,          'unsigned' => TRUE,
74          'not null' => TRUE,          'not null' => TRUE,
75          'default' => 0,          'default' => 0,
76            'description' => 'Whether or not to show links to assigned categories on viewed nodes.',
77        ),        ),
78        'show_listing' => array(        'show_listing' => array(
79          'type' => 'int',          'type' => 'int',
# Line 76  function category_display_schema() { Line 81  function category_display_schema() {
81          'unsigned' => TRUE,          'unsigned' => TRUE,
82          'not null' => TRUE,          'not null' => TRUE,
83          'default' => 0,          'default' => 0,
84            'description' => 'Whether or not to show lists of assigned content on category pages within this container.',
85        ),        ),
86        'emptymsg' => array(        'emptymsg' => array(
87          'type' => 'int',          'type' => 'int',
# Line 83  function category_display_schema() { Line 89  function category_display_schema() {
89          'unsigned' => TRUE,          'unsigned' => TRUE,
90          'not null' => TRUE,          'not null' => TRUE,
91          'default' => 0,          'default' => 0,
92            'description' => 'Whether or not to show a message, if no content is assigned to a category.',
93        ),        ),
94      ),      ),
95      'primary key' => array('cid'),      'primary key' => array('cid'),

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.2