You are here

function hostingService_db_mysql::load in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 db_server/hosting_db_server.service.inc \hostingService_db_mysql::load()
  2. 7.4 db_server/hosting_db_server.service.inc \hostingService_db_mysql::load()

Overrides hostingService::load

File

db_server/hosting_db_server.service.inc, line 89
Provide the hosting serivce classes for database integration.

Class

hostingService_db_mysql
A MySQL specific db service implementation class.

Code

function load() {
  parent::load();
  $this
    ->mergeData('SELECT db_user, db_passwd FROM {hosting_db_server} WHERE vid = :vid', array(
    ':vid' => $this->server->vid,
  ));
}