hwapi_attribute_new

(PHP 5 < 5.2.0)

hwapi_attribute_newCreates instance of class hw_api_attribute

说明

hwapi_attribute_new ([ string $name [, string $value ]] ) : HW_API_Attribute

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.