<?php

   class storiesData extends Data {

      var $table = STORIES_TABLE;

      var $config = array (
  'table' => STORIES_TABLE,
  'idField' => 'osdate_stories_id',
  'addedMsg' => 'Osdate Stories %s Added',
  'added_err' => 'Can\\\'t Add Osdate Stories',
  'editMsg' => 'Osdate Stories %s Updated',
  'editErr' => 'Can\\\'t Update Osdate Stories',
  'delErr' => 'Can\\\'t Delete Osdate Stories',
  'delMsg' => 'Osdate Stories %s Deleted',
  'blankErr' => 'Osdate Stories Empty',
  'fields' => 
  array (
    'storyid' => 
    array (
      'name' => 'storyid',
      'description' => 'Storyid',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 10,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'date' => 
    array (
      'name' => 'date',
      'description' => 'Date',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 11,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'sender' => 
    array (
      'name' => 'sender',
      'description' => 'Sender',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 11,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'header' => 
    array (
      'name' => 'header',
      'description' => 'Header',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 50,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'text' => 
    array (
      'name' => 'text',
      'description' => 'Text',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 16777215,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'enabled' => 
    array (
      'name' => 'enabled',
      'description' => 'Enabled',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 1,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
  ),
);   

      function storiesData() {
      
         $this->Data($this->config);
      }
   }

?>
