You are here

function hosting_package_insert in Hosting 5

Same name and namespace in other branches
  1. 6.2 package/hosting_package.module \hosting_package_insert()
  2. 7.4 package/hosting_package.module \hosting_package_insert()
  3. 7.3 package/hosting_package.module \hosting_package_insert()

Implementation of hook_insert().

1 call to hosting_package_insert()
hosting_package_update in package/hosting_package.module
Implementation of hook_update().

File

package/hosting_package.module, line 180

Code

function hosting_package_insert($node) {
  db_query("INSERT INTO {hosting_package} (vid, nid, package_type, short_name, description ) VALUES (%d, %d, '%s', '%s', '%s')", $node->vid, $node->nid, $node->package_type, $node->short_name, $node->description);
}