php-doc-en/reference/gupnp/functions/gupnp-service-info-get-introspection.xml
Yannick Torres 63fda31e04 Add keyword Revision
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290904 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-18 08:13:30 +00:00

94 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.gupnp-service-info-get-introspection" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>gupnp_service_info_get_introspection</refname>
<refpurpose>Get resource introspection of service</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>gupnp_service_info_get_introspection</methodname>
<methodparam><type>resource</type><parameter>proxy</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>callback</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>arg</parameter></methodparam>
</methodsynopsis>
<para>
Get resource introspection of service or register callback if corresponding parameter was passed.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>proxy</parameter></term>
<listitem>
<para>
A service proxy identifier.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>callback</parameter></term>
<listitem>
<para>
The callback function to be called when introspection object is ready.
Typically, callback function takes on three parameters. The <parameter>introspection</parameter>
parameter's identifier being the first, <parameter>error</parameter> parameter's message
being the second, and the <parameter>arg</parameter> is third.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>arg</parameter></term>
<listitem>
<para>
User data for <parameter>callback</parameter>.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Return true if callback function was defined.
Return introspection identifier if callback function was omited.
</para>
</refsect1>
<refsect1 role="errors">
&reftitle.errors;
<para>
Issues E_WARNING with not valid callback function.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->