<!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>Sets the value of the checkbox</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-checkbox-set-flags.html">newt_checkbox_set_flags</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-checkbox-tree-add-item.html">newt_checkbox_tree_add_item</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.newt-checkbox-set-value" class="refentry"> <div class="refnamediv"> <h1 class="refname">newt_checkbox_set_value</h1> <p class="verinfo">(PECL newt >= 0.1)</p><p class="refpurpose"><span class="refname">newt_checkbox_set_value</span> — <span class="dc-title">Sets the value of the checkbox</span></p> </div> <div class="refsect1 description" id="refsect1-function.newt-checkbox-set-value-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>newt_checkbox_set_value</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$checkbox</code></span> , <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span> )</div> <p class="para rdfs-comment"> This function allows to set the current value of the checkbox resource. </p> </div> <div class="refsect1 parameters" id="refsect1-function.newt-checkbox-set-value-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">checkbox</code></em></span> <dd> <p class="para"> </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">value</code></em></span> <dd> <p class="para"> </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.newt-checkbox-set-value-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-checkbox-set-flags.html">newt_checkbox_set_flags</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-checkbox-tree-add-item.html">newt_checkbox_tree_add_item</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>