-
Notifications
You must be signed in to change notification settings - Fork 51
[Sync EN] Fix copy-pasted descriptions: apcu, cubrid, enchant, zmq (#5576) #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
01ba56a
[Sync EN] Fix copy-pasted descriptions: apcu, cubrid, enchant, zmq (#…
lacatoire 6e8706a
Update apcu-cache-info.xml
lacatoire cef8b3c
Update apcu-cache-info.xml
lacatoire 530ab5a
Update settimercallback.xml
lacatoire 6646fac
Update settimercallback.xml
lacatoire 84875ed
Update settimercallback.xml
lacatoire 8789cf1
Update enchant-dict-suggest.xml
lacatoire File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,155 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- EN-Revision: 184764a63e01525315f54897f3bd38eaa1242b42 Maintainer: lacatoire Status: ready --> | ||
| <!-- Reviewed: no --> | ||
| <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.apcu-cache-info"> | ||
| <refnamediv> | ||
| <refname>apcu_cache_info</refname> | ||
| <refpurpose> | ||
| Ruft zwischengespeicherte Informationen aus dem Datenspeicher von APCu ab | ||
| </refpurpose> | ||
| </refnamediv> | ||
| <refsect1 role="description"> | ||
| &reftitle.description; | ||
| <methodsynopsis> | ||
| <type class="union"><type>array</type><type>false</type></type><methodname>apcu_cache_info</methodname> | ||
| <methodparam choice="opt"><type>bool</type><parameter>limited</parameter><initializer>&false;</initializer></methodparam> | ||
| </methodsynopsis> | ||
| <simpara> | ||
| Ruft zwischengespeicherte Informationen und Metadaten aus dem Datenspeicher von APCu ab. | ||
| </simpara> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="parameters"> | ||
| &reftitle.parameters; | ||
| <variablelist> | ||
| <varlistentry> | ||
| <term><parameter>limited</parameter></term> | ||
| <listitem> | ||
| <simpara> | ||
| Wenn <parameter>limited</parameter> den Wert &true; hat, wird die Liste | ||
| der einzelnen Cache-Einträge aus dem Rückgabewert ausgeschlossen. Dies | ||
| ist nützlich, um Aufrufe zur Erfassung von Statistiken zu optimieren.. | ||
| </simpara> | ||
| </listitem> | ||
| </varlistentry> | ||
| </variablelist> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="returnvalues"> | ||
| &reftitle.returnvalues; | ||
| <simpara> | ||
| Array der zwischengespeicherten Daten (und Metadaten). &return.falseforfailure; | ||
| </simpara> | ||
| <note> | ||
| <simpara> | ||
| <function>apcu_cache_info</function> löst eine Warnung aus, wenn die | ||
| APCu-Cache-Daten nicht abgerufen werden können. Dies tritt üblicherweise | ||
| auf, wenn APCu nicht aktiviert ist. | ||
| </simpara> | ||
| </note> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="changelog"> | ||
| &reftitle.changelog; | ||
| <informaltable> | ||
| <tgroup cols="2"> | ||
| <thead> | ||
| <row> | ||
| <entry>&Version;</entry> | ||
| <entry>&Description;</entry> | ||
| </row> | ||
| </thead> | ||
| <tbody> | ||
| <row> | ||
| <entry>PECL apcu 3.0.11</entry> | ||
| <entry> | ||
| Der Parameter <parameter>limited</parameter> wurde eingeführt. | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry>PECL apcu 3.0.16</entry> | ||
| <entry> | ||
| Die Option "<literal>filehits</literal>" für den Parameter | ||
| <parameter>cache_type</parameter> wurde eingeführt. | ||
| </entry> | ||
| </row> | ||
| </tbody> | ||
| </tgroup> | ||
| </informaltable> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="examples"> | ||
| &reftitle.examples; | ||
| <example> | ||
| <title>Ein Beispiel für <function>apcu_cache_info</function></title> | ||
| <programlisting role="php"> | ||
| <![CDATA[ | ||
| <?php | ||
| print_r(apcu_cache_info()); | ||
| ?> | ||
| ]]> | ||
| </programlisting> | ||
| &example.outputs.similar; | ||
| <screen> | ||
| <![CDATA[ | ||
| Array | ||
| ( | ||
| [num_slots] => 2000 | ||
| [ttl] => 0 | ||
| [num_hits] => 9 | ||
| [num_misses] => 3 | ||
| [start_time] => 1123958803 | ||
| [cache_list] => Array | ||
| ( | ||
| [0] => Array | ||
| ( | ||
| [filename] => /path/to/apcu_test.php | ||
| [device] => 29954 | ||
| [inode] => 1130511 | ||
| [type] => file | ||
| [num_hits] => 1 | ||
| [mtime] => 1123960686 | ||
| [creation_time] => 1123960696 | ||
| [deletion_time] => 0 | ||
| [access_time] => 1123962864 | ||
| [ref_count] => 1 | ||
| [mem_size] => 677 | ||
| ) | ||
| [1] => Array (...iterates for each cached file) | ||
| ) | ||
| ]]> | ||
| </screen> | ||
| </example> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="seealso"> | ||
| &reftitle.seealso; | ||
| <simplelist> | ||
| <member><link linkend="apcu.configuration">APCu-Konfigurationsdirektiven</link></member> | ||
| <member><methodname>APCUIterator::getTotalSize</methodname></member> | ||
| <member><methodname>APCUIterator::getTotalHits</methodname></member> | ||
| <member><methodname>APCUIterator::getTotalCount</methodname></member> | ||
| </simplelist> | ||
| </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 | ||
| --> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,109 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- EN-Revision: 184764a63e01525315f54897f3bd38eaa1242b42 Maintainer: lacatoire Status: ready --> | ||
| <!-- Reviewed: no --> | ||
| <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.apcu-key-info"> | ||
| <refnamediv> | ||
| <refname>apcu_key_info</refname> | ||
| <refpurpose> | ||
| Liefert detaillierte Informationen über den Cache-Schlüssel | ||
| </refpurpose> | ||
| </refnamediv> | ||
|
|
||
| <refsect1 role="description"> | ||
| &reftitle.description; | ||
| <methodsynopsis> | ||
| <type class="union"><type>array</type><type>null</type></type><methodname>apcu_key_info</methodname> | ||
| <methodparam><type>string</type><parameter>key</parameter></methodparam> | ||
| </methodsynopsis> | ||
| <simpara> | ||
| Liefert detaillierte Informationen über den Cache-Schlüssel | ||
| </simpara> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="parameters"> | ||
| &reftitle.parameters; | ||
| <variablelist> | ||
| <varlistentry> | ||
| <term><parameter>key</parameter></term> | ||
| <listitem> | ||
| <simpara> | ||
| Der Schlüssel, für den Informationen abgerufen werden sollen. | ||
| </simpara> | ||
| </listitem> | ||
| </varlistentry> | ||
| </variablelist> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="returnvalues"> | ||
| &reftitle.returnvalues; | ||
| <simpara> | ||
| Ein Array mit den detaillierten Informationen über den Cache-Schlüssel oder &null;, wenn der Schlüssel nicht existiert. | ||
| </simpara> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="examples"> | ||
| &reftitle.examples; | ||
| <example> | ||
| <title>Ein Beispiel für <function>apcu_key_info</function></title> | ||
| <programlisting role="php"> | ||
| <![CDATA[ | ||
| <?php | ||
| apcu_add('a','b'); | ||
| var_dump(apcu_key_info('a')); | ||
| ?> | ||
| ]]> | ||
| </programlisting> | ||
| &example.outputs; | ||
| <screen> | ||
| <![CDATA[ | ||
| array(7) { | ||
| ["hits"]=> | ||
| int(0) | ||
| ["access_time"]=> | ||
| int(1606701783) | ||
| ["mtime"]=> | ||
| int(1606701783) | ||
| ["creation_time"]=> | ||
| int(1606701783) | ||
| ["deletion_time"]=> | ||
| int(0) | ||
| ["ttl"]=> | ||
| int(0) | ||
| ["refs"]=> | ||
| int(0) | ||
| } | ||
| ]]> | ||
| </screen> | ||
| </example> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="seealso"> | ||
| &reftitle.seealso; | ||
| <simplelist> | ||
| <member><function>apcu_store</function></member> | ||
| <member><function>apcu_fetch</function></member> | ||
| <member><function>apcu_delete</function></member> | ||
| </simplelist> | ||
| </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 | ||
| --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- EN-Revision: 184764a63e01525315f54897f3bd38eaa1242b42 Maintainer: lacatoire Status: ready --> | ||
| <!-- Reviewed: no --> | ||
| <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.cubrid-lob2-import"> | ||
| <refnamediv> | ||
| <refname>cubrid_lob2_import</refname> | ||
| <refpurpose>Importiert BLOB/CLOB-Daten aus einer Datei</refpurpose> | ||
| </refnamediv> | ||
|
|
||
| <refsect1 role="description"> | ||
| &reftitle.description; | ||
| <methodsynopsis> | ||
| <type>bool</type><methodname>cubrid_lob2_import</methodname> | ||
| <methodparam><type>resource</type><parameter>lob_identifier</parameter></methodparam> | ||
| <methodparam><type>string</type><parameter>file_name</parameter></methodparam> | ||
| </methodsynopsis> | ||
| <simpara> | ||
| Die Funktion <function>cubrid_lob2_import</function> wird verwendet, um den | ||
| Inhalt von BLOB/CLOB-Daten aus einer Datei zu speichern. Um diese Funktion | ||
| zu verwenden, muss zuerst <function>cubrid_lob2_new</function> aufgerufen | ||
| oder ein LOB-Objekt aus der CUBRID-Datenbank geholt werden. Wenn die Datei | ||
| nicht existiert, schlägt die Operation fehl. | ||
| Diese Funktion beeinflusst die Cursor-Position des LOB-Objekts nicht. | ||
| Sie operiert auf dem gesamten LOB-Objekt. | ||
| </simpara> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="parameters"> | ||
| &reftitle.parameters; | ||
| <variablelist> | ||
| <varlistentry> | ||
| <term><parameter>lob_identifier</parameter></term> | ||
| <listitem> | ||
| <simpara>LOB-Identifikator als Ergebnis von <function>cubrid_lob2_new</function> oder aus dem Ergebnis-Set bezogen.</simpara> | ||
| </listitem> | ||
| </varlistentry> | ||
| <varlistentry> | ||
| <term><parameter>filename</parameter></term> | ||
| <listitem> | ||
| <simpara>Name der Datei, aus der BLOB/CLOB-Daten importiert werden sollen. Der Pfad der Datei wird ebenfalls unterstützt.</simpara> | ||
| </listitem> | ||
| </varlistentry> | ||
| </variablelist> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="returnvalues"> | ||
| &reftitle.returnvalues; | ||
| <simpara> | ||
| &return.success; | ||
| </simpara> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="examples"> | ||
| &reftitle.examples; | ||
| <example> | ||
| <title>Beispiel für <function>cubrid_lob2_export</function></title> | ||
| <programlisting role="php"> | ||
| <![CDATA[ | ||
| <?php | ||
|
|
||
| $conn = cubrid_connect("localhost", 33000, "demodb", "dba", ""); | ||
|
|
||
| cubrid_execute($conn,"DROP TABLE if exists test_lob"); | ||
| cubrid_execute($conn,"CREATE TABLE test_lob (id INT, contents CLOB)"); | ||
|
|
||
| $req = cubrid_prepare($conn, "INSERT INTO test_lob VALUES (?, ?)"); | ||
| cubrid_bind($req, 1, 1); | ||
|
|
||
| $lob = cubrid_lob2_new($conn, "clob"); | ||
| cubrid_lob2_import($lob, "doc_1.txt"); | ||
| cubrid_lob2_bind($req, 2, $lob, 'CLOB'); // oder cubrid_lob2_bind($req, 2, $lob); | ||
|
|
||
| cubrid_execute($req); | ||
|
|
||
| cubrid_lob2_close($lob); | ||
| cubrid_disconnect($conn); | ||
| ?> | ||
| ]]> | ||
| </programlisting> | ||
| </example> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="seealso"> | ||
| &reftitle.seealso; | ||
| <simplelist> | ||
| <member><function>cubrid_lob2_new</function></member> | ||
| <member><function>cubrid_lob2_close</function></member> | ||
| <member><function>cubrid_lob2_export</function></member> | ||
| <member><function>cubrid_lob2_bind</function></member> | ||
| </simplelist> | ||
| </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 | ||
| --> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry