<?php

   class countriesData extends Data {

      var $table = COUNTRIES_TABLE;

      var $config = array (
  'table' => COUNTRIES_TABLE,
  'idField' => 'osdate_countries_id',
  'addedMsg' => 'Osdate Countries %s Added',
  'added_err' => 'Can\\\'t Add Osdate Countries',
  'editMsg' => 'Osdate Countries %s Updated',
  'editErr' => 'Can\\\'t Update Osdate Countries',
  'delErr' => 'Can\\\'t Delete Osdate Countries',
  'delMsg' => 'Osdate Countries %s Deleted',
  'blankErr' => 'Osdate Countries Empty',
  'fields' => 
  array (
    'id' => 
    array (
      'name' => 'id',
      'description' => 'Id',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 11,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'loc' => 
    array (
      'name' => 'loc',
      'description' => 'Loc',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 2,
      'blank_ok' => 1,
      'duplicate_ok' => 1,
    ),
    'code' => 
    array (
      'name' => 'code',
      'description' => 'Code',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 2,
      'blank_ok' => 1,
      'duplicate_ok' => 1,
    ),
    'name' => 
    array (
      'name' => 'name',
      'description' => 'Name',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 100,
      'blank_ok' => 1,
      'duplicate_ok' => 1,
    ),
    'enabled' => 
    array (
      'name' => 'enabled',
      'description' => 'Enabled',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 1,
      'blank_ok' => 1,
      'duplicate_ok' => 1,
    ),
  ),
);   

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

?>
