Mage_Core_Model_Resource_Type_Db_Mysqli Class Reference

Inheritance diagram for Mage_Core_Model_Resource_Type_Db_Mysqli:

Mage_Core_Model_Resource_Type_Db Mage_Core_Model_Resource_Type_Abstract

List of all members.

Public Member Functions

 getConnection ($config)


Detailed Description

Definition at line 35 of file Mysqli.php.


Member Function Documentation

getConnection ( config  ) 

Definition at line 37 of file Mysqli.php.

00038     {
00039         $configArr = (array)$config;
00040         $configArr['profiler'] = !empty($configArr['profiler']) && $configArr['profiler']!=='false';
00041         
00042         $conn = new Varien_Db_Adapter_Mysqli($configArr);
00043         
00044         if (!empty($configArr['initStatements']) && $conn) {
00045             $conn->query($configArr['initStatements']);
00046         }
00047 
00048         return $conn;
00049     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:00 2009 for Magento by  doxygen 1.5.8