⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zips_data.php

📁 太烦了
💻 PHP
字号:
<?php   class zipsData extends Data {      var $table = ZIPCODES_TABLE;      var $config = array (  'table' => ZIPCODES_TABLE,  'idField' => 'id',  'addedMsg' => 'Osdate Zips %s Added',  'added_err' => 'Can\\\'t Add Osdate Zips',  'editMsg' => 'Osdate Zips %s Updated',  'editErr' => 'Can\\\'t Update Osdate Zips',  'delErr' => 'Can\\\'t Delete Osdate Zips',  'delMsg' => 'Osdate Zips %s Deleted',  'blankErr' => 'Osdate Zips Empty',  'fields' =>   array (    'code' =>     array (      'name' => 'code',      'description' => 'Code',      'type' => 'text',      'min_len' => 0,      'max_len' => 30,      '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,    ),    'countrycode' =>     array (      'name' => 'countrycode',      'description' => 'Countrycode',      'type' => 'text',      'min_len' => 0,      'max_len' => 5,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'statecode' =>     array (      'name' => 'statecode',      'description' => 'Statecode',      'type' => 'text',      'min_len' => 0,      'max_len' => 10,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),    'countycode' =>     array (      'name' => 'countycode',      'description' => 'Countycode',      'type' => 'text',      'min_len' => 0,      'max_len' => 10,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),    'citycode' =>     array (      'name' => 'citycode',      'description' => 'Citycode',      'type' => 'text',      'min_len' => 0,      'max_len' => 10,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),    'latitude' =>     array (      'name' => 'latitude',      'description' => 'Latitude',      'type' => 'amount',      'min_len' => 0,      'max_len' => 12,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),    'longitude' =>     array (      'name' => 'longitude',      'description' => 'Longitude',      'type' => 'amount',      'min_len' => 0,      'max_len' => 12,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),  ),);         function zipsData() {               $this->Data($this->config);      }   }?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -