<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Creates instance of class hw_api_attribute</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="hwapi.reason-type.html">hw_api_reason::type</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hwapi-content-new.html">hwapi_content_new</a></div> <div class="up"><a href="ref.hwapi.html">Hyperwave API Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.hwapi-attribute-new" class="refentry"> <div class="refnamediv"> <h1 class="refname">hwapi_attribute_new</h1> <p class="verinfo">(No version information available, might only be in SVN)</p><p class="refpurpose"><span class="refname">hwapi_attribute_new</span> — <span class="dc-title">Creates instance of class hw_api_attribute</span></p> </div> <div class="refsect1 description" id="refsect1-function.hwapi-attribute-new-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><span class="type HW_API_Attribute">HW_API_Attribute</span></span> <span class="methodname"><strong>hwapi_attribute_new</strong></span> ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span> [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span> ]] )</div> <p class="para rdfs-comment"> Creates a new instance of hw_api_attribute with the given name and value. </p> </div> <div class="refsect1 parameters" id="refsect1-function.hwapi-attribute-new-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">name</code></em></span> <dd> <p class="para"> The attribute name. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">value</code></em></span> <dd> <p class="para"> The attribute value. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.hwapi-attribute-new-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns an instance of <strong class="classname">hw_api_attribute</strong>. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="hwapi.reason-type.html">hw_api_reason::type</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hwapi-content-new.html">hwapi_content_new</a></div> <div class="up"><a href="ref.hwapi.html">Hyperwave API Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>