function uc_attribute_load_product_attributes in Ubercart 7.3
Same name and namespace in other branches
- 8.4 uc_attribute/uc_attribute.module \uc_attribute_load_product_attributes()
- 6.2 uc_attribute/uc_attribute.module \uc_attribute_load_product_attributes()
Fetches an array of attribute objects that belong to a product.
Parameters
int $nid: Product whose attributes to load.
Return value
object[] The array of attribute objects.
File
- uc_attribute/
uc_attribute.module, line 754 - Ubercart Attribute module.
Code
function uc_attribute_load_product_attributes($nid) {
return uc_attribute_load_multiple(array(), 'product', $nid);
}