选择语言 :

 Module_Database_Driver::_get_hostname_by_connection_hash

根据数据库连接唯一hash获取数据信息

array Module_Database_Driver::_get_hostname_by_connection_hash( string $hash )

参数列表

参数 类型 描述 默认值
$hash string $has
返回值
  • array array('hostname'=>'','port'=>'','username'=>'')
File: ./modules/database/driver.class.php
protected static function _get_hostname_by_connection_hash($hash)
{
    return Database_Driver::$_hash_to_hostname[$hash];
}