當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。