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