You are here

function uc_attribute_load_product_attributes in Ubercart 6.2

Same name and namespace in other branches
  1. 8.4 uc_attribute/uc_attribute.module \uc_attribute_load_product_attributes()
  2. 7.3 uc_attribute/uc_attribute.module \uc_attribute_load_product_attributes()

Fetches an array of attribute objects that belong to a product.

Parameters

$nid: Product whose attributes to load.

Return value

The array of attribute objects.

File

uc_attribute/uc_attribute.module, line 796

Code

function uc_attribute_load_product_attributes($nid) {
  return uc_attribute_load_multiple(array(), 'product', $nid);
}