cvs: phpdoc-es /reference/nis/functions yp-err-string.xml yp-match.xml /reference/oracle/functions ora-error.xml
| From: | Hannes Magnusson | Date: | Sun, 25 Nov 2007 17:06:22 +0000 |
| Subject: | cvs: phpdoc-es /reference/nis/functions yp-err-string.xml yp-match.xml /reference/oracle/functions ora-error.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-1356@lists.php.net to get a copy of this message | ||
bjori Sun Nov 25 17:06:22 2007 UTC
Modified files:
/phpdoc-es/reference/nis/functions yp-match.xml yp-err-string.xml
/phpdoc-es/reference/oracle/functions ora-error.xml
Log:
Fix examples
http://cvs.php.net/viewvc.cgi/phpdoc-es/reference/nis/functions/yp-match.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-es/reference/nis/functions/yp-match.xml
diff -u phpdoc-es/reference/nis/functions/yp-match.xml:1.3
phpdoc-es/reference/nis/functions/yp-match.xml:1.4
--- phpdoc-es/reference/nis/functions/yp-match.xml:1.3 Sat Jun 23 13:25:44 2007
+++ phpdoc-es/reference/nis/functions/yp-match.xml Sun Nov 25 17:06:22 2007
@@ -23,9 +23,14 @@
<example>
<title> Ejemplo para NIS parejo </title>
<programlisting role="php">
- <?php $entry=yp_match($dominio,"passwd.byname","joe");
- if(!$ entry){echo yp_errno().":".yp_err_string();}
- echo "La entrada pareada es:".$ entry;?>
+<![CDATA[
+<?php
+$entry=yp_match($dominio,"passwd.byname","joe");
+if(!$entry) {
+ echo yp_errno().":".yp_err_string();
+}
+echo "La entrada pareada es:".$ entry;?>
+]]>
</programlisting>
</example>
</para>
http://cvs.php.net/viewvc.cgi/phpdoc-es/reference/nis/functions/yp-err-string.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-es/reference/nis/functions/yp-err-string.xml
diff -u phpdoc-es/reference/nis/functions/yp-err-string.xml:1.2
phpdoc-es/reference/nis/functions/yp-err-string.xml:1.3
--- phpdoc-es/reference/nis/functions/yp-err-string.xml:1.2 Sat Jun 23 13:25:44 2007
+++ phpdoc-es/reference/nis/functions/yp-err-string.xml Sun Nov 25 17:06:22 2007
@@ -25,7 +25,12 @@
<para>
<example>
<title> Ejemplo para errores de NIS</title>
- <programlisting role="php"><?php echo "error:"
.yp_err_string();?>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo "error:" .yp_err_string();
+?>
+]]>
</programlisting>
</example>
</para>
http://cvs.php.net/viewvc.cgi/phpdoc-es/reference/oracle/functions/ora-error.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-es/reference/oracle/functions/ora-error.xml
diff -u phpdoc-es/reference/oracle/functions/ora-error.xml:1.2
phpdoc-es/reference/oracle/functions/ora-error.xml:1.3
--- phpdoc-es/reference/oracle/functions/ora-error.xml:1.2 Sat Jun 23 13:25:44 2007
+++ phpdoc-es/reference/oracle/functions/ora-error.xml Sun Nov 25 17:06:22 2007
@@ -23,14 +23,26 @@
</note></para>
<para>
En las versiones UNIX de Oracle, pueden encontrarse detalles acerca de un mensaje de error
- como este: <computeroutput>
-<prompt>$</prompt> <userinput>oerr ora
<replaceable>00001</replaceable></userinput> 00001, 00000,
+ como este:
+ <informalexample>
+ <programlisting role="shell">
+<![CDATA[
+$> oerr ora 00001
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+00001, 00000,
"unique constraint (%s.%s) violated" // *Cause: An update or insert
statement attempted to insert a duplicate key // For Trusted
ORACLE configured in DBMS MAC mode, you may see // this message
if a duplicate entry exists at a different level. // *Action: Either
remove the unique restriction or do not insert the key </computeroutput></para>
-
+]]>
+ </screen>
+ </informalexample>
+ </para>
</refsect1>
</refentry>