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

📄 questions_data.php

📁 太烦了
💻 PHP
字号:
<?php   class questionsData extends Data {      var $table = QUESTIONS_TABLE;      var $config = array (  'table' => QUESTIONS_TABLE,  'idField' => 'osdate_questions_id',  'addedMsg' => 'Osdate Questions %s Added',  'added_err' => 'Can\\\'t Add Osdate Questions',  'editMsg' => 'Osdate Questions %s Updated',  'editErr' => 'Can\\\'t Update Osdate Questions',  'delErr' => 'Can\\\'t Delete Osdate Questions',  'delMsg' => 'Osdate Questions %s Deleted',  'blankErr' => 'Osdate Questions Empty',  'fields' =>   array (    'id' =>     array (      'name' => 'id',      'description' => 'Id',      'type' => 'number',      'min_len' => 0,      'max_len' => 8,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'question' =>     array (      'name' => 'question',      'description' => 'Question',      'type' => 'text',      'min_len' => 0,      'max_len' => 255,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'description' =>     array (      'name' => 'description',      'description' => 'Description',      'type' => 'text',      'min_len' => 0,      'max_len' => 255,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),    'guideline' =>     array (      'name' => 'guideline',      'description' => 'Guideline',      'type' => 'text',      'min_len' => 0,      'max_len' => 255,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),    'control_type' =>     array (      'name' => 'control_type',      'description' => 'Control Type',      'type' => 'text',      'min_len' => 0,      'max_len' => 100,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'maxlength' =>     array (      'name' => 'maxlength',      'description' => 'Maxlength',      'type' => 'number',      'min_len' => 0,      'max_len' => 3,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'mandatory' =>     array (      'name' => 'mandatory',      'description' => 'Mandatory',      'type' => 'text',      'min_len' => 0,      'max_len' => 1,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'section' =>     array (      'name' => 'section',      'description' => 'Section',      'type' => 'number',      'min_len' => 0,      'max_len' => 2,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'displayorder' =>     array (      'name' => 'displayorder',      'description' => 'Displayorder',      'type' => 'number',      'min_len' => 0,      'max_len' => 2,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'extsearchable' =>     array (      'name' => 'extsearchable',      'description' => 'Extsearchable',      'type' => 'text',      'min_len' => 0,      'max_len' => 1,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'extsearchhead' =>     array (      'name' => 'extsearchhead',      'description' => 'Extsearchhead',      'type' => 'text',      'min_len' => 0,      'max_len' => 255,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),    'enabled' =>     array (      'name' => 'enabled',      'description' => 'Enabled',      'type' => 'text',      'min_len' => 0,      'max_len' => 1,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),  ),);         function questionsData() {               $this->Data($this->config);      }   }?>

⌨️ 快捷键说明

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