GoLang hwapi_attribute_new

request it (75)
GoLang replacement for PHP's hwapi_attribute_new [edit | history]



Do you know a GoLang replacement for PHP's hwapi_attribute_new? Write it!

PHP hwapi_attribute_new

PHP original manual for hwapi_attribute_new [ show | php.net ]

hwapi_attribute_new

(PHP 5 < 5.2.0)

hwapi_attribute_newCreates instance of class hw_api_attribute

Description

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

Creates a new instance of hw_api_attribute with the given name and value.

Parameters

name

The attribute name.

value

The attribute value.

Return Values

Returns an instance of hw_api_attribute.