cvs: phpdoc-ro /reference/xmlrpc/functions xmlrpc-set-type.xml
| From: | Simion Onea | Date: | Thu, 16 Apr 2009 09:45:31 +0000 |
| Subject: | cvs: phpdoc-ro /reference/xmlrpc/functions xmlrpc-set-type.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-678@lists.php.net to get a copy of this message | ||
simionea Thu Apr 16 09:45:31 2009 UTC
Modified files:
/phpdoc-ro/reference/xmlrpc/functions xmlrpc-set-type.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/xmlrpc/functions/xmlrpc-set-type.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-ro/reference/xmlrpc/functions/xmlrpc-set-type.xml
diff -u phpdoc-ro/reference/xmlrpc/functions/xmlrpc-set-type.xml:1.5
phpdoc-ro/reference/xmlrpc/functions/xmlrpc-set-type.xml:1.6
--- phpdoc-ro/reference/xmlrpc/functions/xmlrpc-set-type.xml:1.5 Sun Jan 25 10:34:32 2009
+++ phpdoc-ro/reference/xmlrpc/functions/xmlrpc-set-type.xml Thu Apr 16 09:45:31 2009
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.7 Maintainer: simionea Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.8 Maintainer: simionea Status: ready -->
<!-- CREDITS: adiju -->
<refentry xml:id="function.xmlrpc-set-type" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -14,6 +14,9 @@
<methodparam><type>string</type><parameter
role="reference">value</parameter></methodparam>
<methodparam><type>string</type><parameter>type</parameter></methodparam>
</methodsynopsis>
+ <para>
+ StabileÈte tipul xmlrpc, base64 sau datetime, pentru o valoare-Èir PHP.
+ </para>
&warn.experimental.func;
</refsect1>
@@ -49,6 +52,41 @@
</para>
</refsect1>
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Un exemplu <function>xmlrpc_set_type</function></title>
+ <para>
+ </para>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+$params = date("Ymd\TH:i:s", time());
+xmlrpc_set_type($params, 'datetime');
+echo xmlrpc_encode($params);
+
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen role="xml">
+<![CDATA[
+<?xml version="1.0" encoding="utf-8"?>
+<params>
+<param>
+ <value>
+ <dateTime.iso8601>20090322T23:43:03</dateTime.iso8601>
+ </value>
+</param>
+</params>
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
<refsect1 role="errors">
&reftitle.errors;
<para>