当前位置: 首页>>代码示例>>PHP>>正文


PHP MDB2_Driver_Common::__construct方法代码示例

本文整理汇总了PHP中MDB2_Driver_Common::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP MDB2_Driver_Common::__construct方法的具体用法?PHP MDB2_Driver_Common::__construct怎么用?PHP MDB2_Driver_Common::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在MDB2_Driver_Common的用法示例。


在下文中一共展示了MDB2_Driver_Common::__construct方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->phptype = 'sqlite';
     $this->dbsyntax = 'sqlite';
     $this->supported['sequences'] = 'emulated';
     $this->supported['indexes'] = true;
     $this->supported['affected_rows'] = true;
     $this->supported['summary_functions'] = true;
     $this->supported['order_by_text'] = true;
     $this->supported['current_id'] = 'emulated';
     $this->supported['limit_queries'] = true;
     $this->supported['LOBs'] = true;
     $this->supported['replace'] = true;
     $this->supported['transactions'] = true;
     $this->supported['savepoints'] = false;
     $this->supported['sub_selects'] = true;
     $this->supported['auto_increment'] = true;
     $this->supported['primary_key'] = false;
     // requires alter table implementation
     $this->supported['result_introspection'] = false;
     // not implemented
     $this->supported['prepared_statements'] = 'emulated';
     $this->supported['identifier_quoting'] = true;
     $this->supported['pattern_escaping'] = false;
     $this->supported['new_link'] = false;
     $this->options['base_transaction_name'] = '___php_MDB2_sqlite_auto_commit_off';
     $this->options['fixed_float'] = 0;
     $this->options['database_path'] = '';
     $this->options['database_extension'] = '';
     $this->options['server_version'] = '';
 }
开发者ID:ookwudili,项目名称:chisimba,代码行数:35,代码来源:sqlite.php

示例2:

 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->phptype = 'mysql';
     $this->dbsyntax = 'mysql';
     $this->supported['sequences'] = 'emulated';
     $this->supported['indexes'] = true;
     $this->supported['affected_rows'] = true;
     $this->supported['transactions'] = false;
     $this->supported['savepoints'] = false;
     $this->supported['summary_functions'] = true;
     $this->supported['order_by_text'] = true;
     $this->supported['current_id'] = 'emulated';
     $this->supported['limit_queries'] = true;
     $this->supported['LOBs'] = true;
     $this->supported['replace'] = true;
     $this->supported['sub_selects'] = 'emulated';
     $this->supported['auto_increment'] = true;
     $this->supported['primary_key'] = true;
     $this->supported['result_introspection'] = true;
     $this->supported['prepared_statements'] = 'emulated';
     $this->supported['identifier_quoting'] = true;
     $this->supported['pattern_escaping'] = true;
     $this->supported['new_link'] = true;
     $this->options['default_table_type'] = '';
 }
开发者ID:laiello,项目名称:coopcrucial,代码行数:29,代码来源:mysql.php

示例3:

 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->phptype = 'sqlsrv';
     $this->dbsyntax = 'sqlsrv';
     $this->supported['sequences'] = 'emulated';
     $this->supported['indexes'] = true;
     $this->supported['affected_rows'] = true;
     $this->supported['summary_functions'] = true;
     $this->supported['transactions'] = true;
     $this->supported['order_by_text'] = true;
     $this->supported['savepoints'] = false;
     $this->supported['current_id'] = 'emulated';
     $this->supported['limit_queries'] = 'emulated';
     $this->supported['LOBs'] = true;
     $this->supported['replace'] = 'emulated';
     $this->supported['sub_selects'] = true;
     $this->supported['triggers'] = true;
     $this->supported['auto_increment'] = true;
     $this->supported['primary_key'] = true;
     $this->supported['result_introspection'] = true;
     $this->supported['prepared_statements'] = 'emulated';
     $this->supported['identifier_quoting'] = false;
     $this->supported['pattern_escaping'] = true;
     $this->supported['new_link'] = true;
     $this->options['DBA_username'] = false;
     $this->options['DBA_password'] = false;
     $this->options['database_device'] = false;
     $this->options['database_size'] = false;
     $this->options['max_identifiers_length'] = 128;
     // MS Access: 64
     $this->options['multibyte_text_field_type'] = false;
 }
开发者ID:Dulciane,项目名称:jaws,代码行数:36,代码来源:sqlsrv.php

示例4:

 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->phptype = 'pgsql';
     $this->dbsyntax = 'pgsql';
     $this->supported['sequences'] = true;
     $this->supported['indexes'] = true;
     $this->supported['affected_rows'] = true;
     $this->supported['summary_functions'] = true;
     $this->supported['order_by_text'] = true;
     $this->supported['transactions'] = true;
     $this->supported['savepoints'] = true;
     $this->supported['current_id'] = true;
     $this->supported['limit_queries'] = true;
     $this->supported['LOBs'] = true;
     $this->supported['replace'] = 'emulated';
     $this->supported['sub_selects'] = true;
     $this->supported['triggers'] = true;
     $this->supported['auto_increment'] = 'emulated';
     $this->supported['primary_key'] = true;
     $this->supported['result_introspection'] = true;
     $this->supported['prepared_statements'] = true;
     $this->supported['identifier_quoting'] = true;
     $this->supported['pattern_escaping'] = true;
     $this->supported['new_link'] = true;
     $this->options['DBA_username'] = false;
     $this->options['DBA_password'] = false;
     $this->options['multi_query'] = false;
     $this->options['disable_smart_seqname'] = true;
     $this->options['max_identifiers_length'] = 63;
 }
开发者ID:phpontrax,项目名称:trax,代码行数:34,代码来源:pgsql.php

示例5:

 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->phptype = 'oci8';
     $this->dbsyntax = 'oci8';
     $this->supported['sequences'] = true;
     $this->supported['indexes'] = true;
     $this->supported['summary_functions'] = true;
     $this->supported['order_by_text'] = true;
     $this->supported['current_id'] = true;
     $this->supported['affected_rows'] = true;
     $this->supported['transactions'] = true;
     $this->supported['savepoints'] = true;
     $this->supported['limit_queries'] = true;
     $this->supported['LOBs'] = true;
     $this->supported['replace'] = 'emulated';
     $this->supported['sub_selects'] = true;
     $this->supported['auto_increment'] = false;
     // implementation is broken
     $this->supported['primary_key'] = true;
     $this->supported['result_introspection'] = true;
     $this->supported['prepared_statements'] = true;
     $this->supported['identifier_quoting'] = true;
     $this->supported['pattern_escaping'] = true;
     $this->supported['new_link'] = true;
     $this->options['DBA_username'] = false;
     $this->options['DBA_password'] = false;
     $this->options['database_name_prefix'] = false;
     $this->options['emulate_database'] = true;
     $this->options['default_tablespace'] = false;
     $this->options['default_text_field_length'] = 2000;
     $this->options['result_prefetching'] = false;
 }
开发者ID:Rudi9719,项目名称:lucid,代码行数:36,代码来源:oci8.php

示例6:

 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->phptype = 'ibase';
     $this->dbsyntax = 'ibase';
     $this->supported['sequences'] = true;
     $this->supported['indexes'] = true;
     $this->supported['affected_rows'] = function_exists('ibase_affected_rows');
     $this->supported['summary_functions'] = true;
     $this->supported['order_by_text'] = true;
     $this->supported['transactions'] = true;
     $this->supported['savepoints'] = true;
     $this->supported['current_id'] = true;
     $this->supported['limit_queries'] = 'emulated';
     $this->supported['LOBs'] = true;
     $this->supported['replace'] = false;
     $this->supported['sub_selects'] = true;
     $this->supported['auto_increment'] = true;
     $this->supported['primary_key'] = true;
     $this->supported['result_introspection'] = true;
     $this->supported['prepared_statements'] = true;
     $this->supported['identifier_quoting'] = false;
     $this->supported['pattern_escaping'] = true;
     $this->supported['new_link'] = false;
     $this->options['DBA_username'] = false;
     $this->options['DBA_password'] = false;
     $this->options['database_path'] = '';
     $this->options['database_extension'] = '.gdb';
     $this->options['server_version'] = '';
 }
开发者ID:Rudi9719,项目名称:lucid,代码行数:33,代码来源:ibase.php

示例7:

 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->phptype = 'mysql';
     $this->dbsyntax = 'mysql';
     $this->supported['sequences'] = true;
     $this->supported['indexes'] = true;
     $this->supported['affected_rows'] = true;
     $this->supported['transactions'] = false;
     $this->supported['summary_functions'] = true;
     $this->supported['order_by_text'] = true;
     $this->supported['current_id'] = true;
     $this->supported['limit_queries'] = true;
     $this->supported['LOBs'] = true;
     $this->supported['replace'] = true;
     $this->supported['sub_selects'] = false;
     $this->supported['auto_increment'] = true;
     $this->options['default_table_type'] = null;
 }
开发者ID:BackupTheBerlios,项目名称:wcms,代码行数:22,代码来源:mysql.php

示例8:

 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->phptype = 'fbsql';
     $this->dbsyntax = 'fbsql';
     $this->supported['sequences'] = 'emulated';
     $this->supported['indexes'] = true;
     $this->supported['affected_rows'] = true;
     $this->supported['transactions'] = true;
     $this->supported['summary_functions'] = true;
     $this->supported['order_by_text'] = true;
     $this->supported['current_id'] = 'emulated';
     $this->supported['limit_queries'] = 'emulated';
     $this->supported['LOBs'] = true;
     $this->supported['replace'] = 'emulated';
     $this->supported['sub_selects'] = true;
     $this->supported['auto_increment'] = false;
     // not implemented
     $this->supported['primary_key'] = false;
     // not implemented
     $this->supported['result_introspection'] = true;
 }
开发者ID:ajisantoso,项目名称:kateglo,代码行数:25,代码来源:fbsql.php


注:本文中的MDB2_Driver_Common::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。