svn: /phpdoc/de/trunk/reference/ reflection/book.xml reflection/examples.xml reflection/reflection.xml
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Sun, 08 Dec 2019 13:36:41 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348461
Log:
Add new translations provided by anonymous user
Changed paths:
A phpdoc/de/trunk/reference/reflection/
A phpdoc/de/trunk/reference/reflection/book.xml
A phpdoc/de/trunk/reference/reflection/examples.xml
A phpdoc/de/trunk/reference/reflection/reflection.xml
svn-diffs-348461.txt
(text/x-diff, 9.9 KB)
Added: phpdoc/de/trunk/reference/reflection/book.xml
===================================================================
--- phpdoc/de/trunk/reference/reflection/book.xml (rev 0)
+++ phpdoc/de/trunk/reference/reflection/book.xml 2019-12-08 13:36:41 UTC (rev 348461)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 343928 Maintainer: nobody Status: ready -->
+
+<book xml:id="book.reflection" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <?phpdoc extension-membership="core" ?>
+ <title>Reflection</title>
+ <titleabbrev>Reflection</titleabbrev>
+
+ <preface xml:id="intro.reflection">
+ &reftitle.intro;
+ <para>
+ PHP 5 wird mit einer vollständigen Reflection-API geliefert, die die Möglichkeit bietet,
+ Klassen, Interfaces, Funktionen, Methoden und Erweiterungen zurück zu entwickeln (<literal>reverse-engineer</literal>).
+ Darüber hinaus bietet die Reflection-API Möglichkeiten zum
+ Abrufen von Dokumentkommentaren für Funktionen, Klassen und Methoden.
+ </para>
+ <para>
+ Es ist zu beachten, dass bestimmten Teilen der internen <acronym>API</acronym>
+ der notwendige Code fehlt, um mit der Reflection-Erweiterung zu arbeiten.
+ Beispielsweise fehlen in einer internen PHP-Klasse möglicherweise Reflektionsdaten für
+ Eigenschaften. Diese wenigen Fälle gelten jedoch als Bugs, so dass sie
+ entdeckt und behoben werden sollten.
+ </para>
+ </preface>
+
+ &reference.reflection.setup;
+ &reference.reflection.constants;
+ &reference.reflection.examples;
+ &reference.reflection.extending;
+ &reference.reflection.reflection;
+ &reference.reflection.reflectionclass;
+ &reference.reflection.reflectionclassconstant;
+ &reference.reflection.reflectionzendextension;
+ &reference.reflection.reflectionextension;
+ &reference.reflection.reflectionfunction;
+ &reference.reflection.reflectionfunctionabstract;
+ &reference.reflection.reflectionmethod;
+ &reference.reflection.reflectionnamedtype;
+ &reference.reflection.reflectionobject;
+ &reference.reflection.reflectionparameter;
+ &reference.reflection.reflectionproperty;
+ &reference.reflection.reflectiontype;
+ &reference.reflection.reflectiongenerator;
+ &reference.reflection.reflector;
+ &reference.reflection.reflectionexception;
+
+</book>
+
+<!-- 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/de/trunk/reference/reflection/book.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/de/trunk/reference/reflection/examples.xml
===================================================================
--- phpdoc/de/trunk/reference/reflection/examples.xml (rev 0)
+++ phpdoc/de/trunk/reference/reflection/examples.xml 2019-12-08 13:36:41 UTC (rev 348461)
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 290998 Maintainer: nobody Status: ready -->
+
+<chapter xml:id="reflection.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.examples;
+ <para>
+ Normalerweise gibt es in der Reflection-Dokumentation viele Beispiele
+ innerhalb der __construct-Dokumentation für jede Klasse.
+ </para>
+ <example>
+ <title>Beispiele von Reflection in der Shell (dem Terminal)</title>
+ <programlisting role="shell">
+<![CDATA[
+$ php --rf strlen
+$ php --rc finfo
+$ php --re json
+$ php --ri dom
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+Function [ <internal:Core> function strlen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $str ]
+ }
+}
+
+Class [ <internal:fileinfo> class finfo ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [4] {
+ Method [ <internal:fileinfo, ctor> public method finfo ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $options ]
+ Parameter #1 [ <optional> $arg ]
+ }
+ }
+
+ Method [ <internal:fileinfo> public method set_flags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $options ]
+ }
+ }
+
+ Method [ <internal:fileinfo> public method file ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $filename ]
+ Parameter #1 [ <optional> $options ]
+ Parameter #2 [ <optional> $context ]
+ }
+ }
+
+ Method [ <internal:fileinfo> public method buffer ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $string ]
+ Parameter #1 [ <optional> $options ]
+ Parameter #2 [ <optional> $context ]
+ }
+ }
+ }
+}
+
+Extension [ <persistent> extension #23 json version 1.2.1 ] {
+
+ - Constants [10] {
+ Constant [ integer JSON_HEX_TAG ] { 1 }
+ Constant [ integer JSON_HEX_AMP ] { 2 }
+ Constant [ integer JSON_HEX_APOS ] { 4 }
+ Constant [ integer JSON_HEX_QUOT ] { 8 }
+ Constant [ integer JSON_FORCE_OBJECT ] { 16 }
+ Constant [ integer JSON_ERROR_NONE ] { 0 }
+ Constant [ integer JSON_ERROR_DEPTH ] { 1 }
+ Constant [ integer JSON_ERROR_STATE_MISMATCH ] { 2 }
+ Constant [ integer JSON_ERROR_CTRL_CHAR ] { 3 }
+ Constant [ integer JSON_ERROR_SYNTAX ] { 4 }
+ }
+
+ - Functions {
+ Function [ <internal:json> function json_encode ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $value ]
+ Parameter #1 [ <optional> $options ]
+ }
+ }
+ Function [ <internal:json> function json_decode ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $json ]
+ Parameter #1 [ <optional> $assoc ]
+ Parameter #2 [ <optional> $depth ]
+ }
+ }
+ Function [ <internal:json> function json_last_error ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+}
+
+dom
+
+DOM/XML => enabled
+DOM/XML API Version => 20031129
+libxml Version => 2.7.3
+HTML Support => enabled
+XPath Support => enabled
+XPointer Support => enabled
+Schema Support => enabled
+RelaxNG Support => enabled
+]]>
+ </screen>
+ </example>
+</chapter>
+
+<!-- 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/de/trunk/reference/reflection/examples.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/de/trunk/reference/reflection/reflection.xml
===================================================================
--- phpdoc/de/trunk/reference/reflection/reflection.xml (rev 0)
+++ phpdoc/de/trunk/reference/reflection/reflection.xml 2019-12-08 13:36:41 UTC (rev 348461)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 292734 Maintainer: nobody Status: ready -->
+
+<phpdoc:classref xml:id="class.reflection" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+ <title>Die Reflection Klasse</title>
+ <titleabbrev>Reflection</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ Reflection intro -->
+ <section xml:id="reflection.intro">
+ &reftitle.intro;
+ <para>
+ Die Reflection Klasse.
+ </para>
+ </section>
+<!-- }}} -->
+
+ <section xml:id="reflection.synopsis">
+ &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+ <classsynopsis>
+ <ooclass><classname>Reflection</classname></ooclass>
+
+<!-- {{{ Class synopsis -->
+ <classsynopsisinfo>
+ <ooclass>
+ <classname>Reflection</classname>
+ </ooclass>
+ </classsynopsisinfo>
+<!-- }}} -->
+
+ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflection')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
+ </classsynopsis>
+<!-- }}} -->
+
+ </section>
+
+ </partintro>
+
+ &reference.reflection.entities.reflection;
+
+</phpdoc:classref>
+
+<!-- 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/de/trunk/reference/reflection/reflection.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property