(PHP 5 < 5.2.0)
hwapi_attribute_new — Creates instance of class hw_api_attribute
$name
   [, string $value
  ]] ) : HW_API_AttributeCreates a new instance of hw_api_attribute with the given name and value.
nameThe attribute name.
valueThe attribute value.
Returns an instance of hw_api_attribute.