<!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>Check whether root device is available</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.gupnp-device-info-get.html">gupnp_device_info_get</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.gupnp-root-device-get-relative-location.html">gupnp_root_device_get_relative_location</a></div> <div class="up"><a href="ref.gupnp.html">Gupnp Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.gupnp-root-device-get-available" class="refentry"> <div class="refnamediv"> <h1 class="refname">gupnp_root_device_get_available</h1> <p class="verinfo">(PECL gupnp >= 0.1.0)</p><p class="refpurpose"><span class="refname">gupnp_root_device_get_available</span> — <span class="dc-title">Check whether root device is available</span></p> </div> <div class="refsect1 description" id="refsect1-function.gupnp-root-device-get-available-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>gupnp_root_device_get_available</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$root_device</code></span> )</div> <p class="para rdfs-comment"> Get whether or not <em><code class="parameter">root_device</code></em> is available (announcing its presence). </p> </div> <div class="refsect1 parameters" id="refsect1-function.gupnp-root-device-get-available-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">root_device</code></em></span> <dd> <p class="para"> A root device identifier, returned by <span class="function"><a href="function.gupnp-root-device-new.html" class="function">gupnp_root_device_new()</a></span>. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.gupnp-root-device-get-available-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> on success or <strong><code>FALSE</code></strong> on failure. </p> </div> <div class="refsect1 seealso" id="refsect1-function.gupnp-root-device-get-available-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.gupnp-root-device-set-available.html" class="function" rel="rdfs-seeAlso">gupnp_root_device_set_available()</a> - Set whether or not root_device is available</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.gupnp-device-info-get.html">gupnp_device_info_get</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.gupnp-root-device-get-relative-location.html">gupnp_root_device_get_relative_location</a></div> <div class="up"><a href="ref.gupnp.html">Gupnp Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>