original_string: public static function getAdapters()
      {
          static $adapterNames = array(
              // currently supported by Piwik
              'Pdo\Mysql',
              'Mysqli',
  
              // other adapters supported by Zend_Db
  //			'Pdo_Pgsql',
  //			'Pdo_Mssql',
  //			'Sqlsrv',
  //			'Pdo_Ibm',
  //			'Db2',
  //			'Pdo_Oci',
  //			'Oracle',
          );
  
          $adapters = array();
  
          foreach ($adapterNames as $adapterName) {
              $className = '\Piwik\Db\Adapter\\' . $adapterName;
              if (call_user_func(array($className, 'isEnabled'))) {
                  $adapters[strtoupper($adapterName)] = call_user_func(array($className, 'getDefaultPort'));
              }
          }
  
          return $adapters;
      }
code: public static function getAdapters()
      {
          static $adapterNames = array(
              // currently supported by Piwik
              'Pdo\Mysql',
              'Mysqli',
  
              // other adapters supported by Zend_Db
  //			'Pdo_Pgsql',
  //			'Pdo_Mssql',
  //			'Sqlsrv',
  //			'Pdo_Ibm',
  //			'Db2',
  //			'Pdo_Oci',
  //			'Oracle',
          );
  
          $adapters = array();
  
          foreach ($adapterNames as $adapterName) {
              $className = '\Piwik\Db\Adapter\\' . $adapterName;
              if (call_user_func(array($className, 'isEnabled'))) {
                  $adapters[strtoupper($adapterName)] = call_user_func(array($className, 'getDefaultPort'));
              }
          }
  
          return $adapters;
      }
code_tokens: public static function getAdapters ( ) { static $ adapterNames = array ( // currently supported by Piwik 'Pdo\Mysql' , 'Mysqli' , // other adapters supported by Zend_Db //			'Pdo_Pgsql', //			'Pdo_Mssql', //			'Sqlsrv', //			'Pdo_Ibm', //			'Db2', //			'Pdo_Oci', //			'Oracle', ) ; $ adapters = array ( ) ; foreach ( $ adapterNames as $ adapterName ) { $ className = '\Piwik\Db\Adapter\\' . $ adapterName ; if ( call_user_func ( array ( $ className , 'isEnabled' ) ) ) { $ adapters [ strtoupper ( $ adapterName ) ] = call_user_func ( array ( $ className , 'getDefaultPort' ) ) ; } } return $ adapters ; }
docstring: Get list of adapters
  
  @return array
docstring_tokens: Get list of adapters