You are here

function hosting_site_load in Hosting 6.2

Same name and namespace in other branches
  1. 5 site/hosting_site.module \hosting_site_load()
  2. 7.4 site/hosting_site.nodeapi.inc \hosting_site_load()
  3. 7.3 site/hosting_site.nodeapi.inc \hosting_site_load()

Implementation of hook_load().

Parameters

node: Node object

File

site/hosting_site.nodeapi.inc, line 196
Site nodeapi implementations.

Code

function hosting_site_load($node) {
  $additions = db_fetch_object(db_query('SELECT client, db_server, db_name, platform, profile, language as site_language, last_cron, cron_key, status AS site_status, verified FROM {hosting_site} WHERE vid = %d', $node->vid));
  return $additions;
}