questionoptions_data.php

来自「太烦了」· PHP 代码 · 共 79 行

PHP
79
字号
<?php   class questionoptionsData extends Data {      var $table = QUESTIONOPTIONS_TABLE;      var $config = array (  'table' => QUESTIONOPTIONS_TABLE,  'idField' => 'osdate_questionoptions_id',  'addedMsg' => 'Osdate Questionoptions %s Added',  'added_err' => 'Can\\\'t Add Osdate Questionoptions',  'editMsg' => 'Osdate Questionoptions %s Updated',  'editErr' => 'Can\\\'t Update Osdate Questionoptions',  'delErr' => 'Can\\\'t Delete Osdate Questionoptions',  'delMsg' => 'Osdate Questionoptions %s Deleted',  'blankErr' => 'Osdate Questionoptions Empty',  'fields' =>   array (    'id' =>     array (      'name' => 'id',      'description' => 'Id',      'type' => 'number',      'min_len' => 0,      'max_len' => 8,      'blank_ok' => 0,      'duplicate_ok' => 1,    ),    'answer' =>     array (      'name' => 'answer',      'description' => 'Answer',      'type' => 'text',      'min_len' => 0,      'max_len' => 65535,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),    'questionid' =>     array (      'name' => 'questionid',      'description' => 'Questionid',      'type' => 'number',      'min_len' => 0,      'max_len' => 8,      '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,    ),    'displayorder' =>     array (      'name' => 'displayorder',      'description' => 'Displayorder',      'type' => 'number',      'min_len' => 0,      'max_len' => 2,      'blank_ok' => 1,      'duplicate_ok' => 1,    ),  ),);         function questionoptionsData() {               $this->Data($this->config);      }   }?>

⌨️ 快捷键说明

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