ensure_my_table(); $this->add_additional_fields(); } function element_type() { if (isset($this->definition['element type'])) { return $this->definition['element type']; } return 'div'; } function render($values) { $product = node_load($values->{$this->aliases['nid']}); if (uc_product_is_product($product)) { $form = drupal_get_form('uc_catalog_buy_it_now_form_' . $values->{$this->aliases['nid']}, $product); return drupal_render($form); } } }