Source of: /manual/en/function.hwapi-attribute.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.hwapi.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.hwapi-attribute.php',
1 => 'hw_api_attribute',
),
'up' =>
array (
0 => 'ref.hwapi.php',
1 => 'Hyperwave API Functions',
),
'prev' =>
array (
0 => 'function.hwapi-attribute-values.php',
1 => 'hw_api_attribute->values',
),
'next' =>
array (
0 => 'function.hwapi-checkin.php',
1 => 'hw_api->checkin',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.hwapi-attribute" class="refentry">
<div class="refnamediv">
<h1 class="refname">hw_api_attribute</h1>
<p class="verinfo">(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)</p><p class="refpurpose"><span class="refname">hw_api_attribute</span> — <span class="dc-title">Creates instance of class hw_api_attribute</span></p>
</div>
<a name="function.hwapi-attribute.description"></a><div class="refsect1 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"><b>hw_api_attribute</b></span>
([ <span class="methodparam"><span class="type">string</span> <tt class="parameter">$name</tt></span>
[, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$value</tt></span>
]] )</div>
<p class="para rdfs-comment">
Creates a new instance of hw_api_attribute with the given name and value.
</p>
</div>
<a name="function.hwapi-attribute.parameters"></a><div class="refsect1 parameters">
<h3 class="title">Parameters</h3>
<p class="para">
</p><dl>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">name</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
The attribute name.
</p>
</dd>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">value</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
The attribute value.
</p>
</dd>
</dl>
<p>
</p>
</div>
<a name="function.hwapi-attribute.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
Returns an instance of <b class="classname">hw_api_attribute</b>.
</p>
</div>
</div><?php manual_footer(); ?>