svn: /phpdoc/es/trunk/reference/yaf/yaf_application/ clearlasterror.xml
| From: | Pedro Antonio Gil Rodríguez | Date: | Fri, 18 Nov 2011 08:30:04 +0000 |
| Subject: | svn: /phpdoc/es/trunk/reference/yaf/yaf_application/ clearlasterror.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-5279@lists.php.net to get a copy of this message | ||
seros Fri, 18 Nov 2011 08:30:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319451
Log:
Translation [es]
Changed paths:
A phpdoc/es/trunk/reference/yaf/yaf_application/clearlasterror.xml
Added: phpdoc/es/trunk/reference/yaf/yaf_application/clearlasterror.xml
===================================================================
--- phpdoc/es/trunk/reference/yaf/yaf_application/clearlasterror.xml (rev 0)
+++ phpdoc/es/trunk/reference/yaf/yaf_application/clearlasterror.xml 2011-11-18 08:30:04 UTC (rev
319451)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 317663 Maintainer: seros Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="yaf-application.clearlasterror" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>Yaf_Application::clearLastError</refname>
+ <refpurpose>Limpiar la información del último error</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier>
<type>Yaf_Application</type><methodname>Yaf_Application::clearLastError</methodname>
+ <void />
+ </methodsynopsis>
+ <para>
+
+ </para>
+
+ &warn.undocumented.func;
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <example>
+ <title>Ejemplo de
<function>Yaf_Application::clearLastError</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+function error_handler($errno, $errstr, $errfile, $errline) {
+ Yaf_Application::app()->clearLastError();
+ var_dump(Yaf_Application::app()->getLastErrorNo());
+}
+
+$config = array(
+ "application" => array(
+ "directory" => "/tmp/noexiste",
+ "dispatcher" => array(
+ "throwException" => 0, //provocar un error en vez de lanzar una excepción
cuando ocurra un error
+ ),
+ ),
+);
+
+$app = new Yaf_Application($config);
+$app->getDispatcher()->setErrorHandler("error_handler", E_RECOVERABLE_ERROR);
+$app->run();
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+int(0)
+]]>
+ </screen>
+ </example>
+ </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
+-->
Property changes on: phpdoc/es/trunk/reference/yaf/yaf_application/clearlasterror.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native