Sfoglia il codice sorgente

[DOCUMENTATION] German:

- sync up to r17054

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17161 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 anni fa
parent
commit
18b0c065b5

+ 3 - 2
documentation/manual/de/module_specs/Zend_Db_Table.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16831 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.db.table">
 
@@ -1204,7 +1204,8 @@ $rows = $table->fetchAll($select);
                 <programlisting language="php"><![CDATA[
 $table = new Bugs();
 
-$select = $table->select(Zend_Db_Table::SELECT_WITH_FROM_PART)->setIntegrityCheck(false);
+$select = $table->select(Zend_Db_Table::SELECT_WITH_FROM_PART)
+                ->setIntegrityCheck(false);
 $select->where('bug_status = ?', 'NEW')
        ->join('accounts',
               'accounts.account_name= bugs.reported_by',

+ 17 - 5
documentation/manual/de/module_specs/Zend_Db_Table_Definition.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16943 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.db.table.definition">
 
@@ -100,12 +100,18 @@ $authorTable = new Zend_Db_Table('author', $definition);
 $authors = $authorTable->fetchAll();
 
 foreach ($authors as $author) {
-    echo $author->id . ': ' . $author->first_name . ' ' . $author->last_name . PHP_EOL;
+    echo $author->id
+       . ': '
+       . $author->first_name
+       . ' '
+       . $author->last_name
+       . PHP_EOL;
     $books = $author->findDependentRowset('book');
     foreach ($books as $book) {
         echo '    Buch: ' . $book->title . PHP_EOL;
         $genreOutputArray = array();
-        foreach ($book->findManyToManyRowset('genre', 'book_to_genre') as $genreRow) {
+        $genres = $book->findManyToManyRowset('genre', 'book_to_genre');
+        foreach ($genres as $genreRow) {
             $genreOutputArray[] = $genreRow->name;
         }
         echo '        Genre: ' . implode(', ', $genreOutputArray) . PHP_EOL;
@@ -180,12 +186,18 @@ $authorTable = new Zend_Db_Table('author', $definition);
 $authors = $authorTable->fetchAll();
 
 foreach ($authors as $author) {
-    echo $author->id . ': ' . $author->first_name . ' ' . $author->last_name . PHP_EOL;
+    echo $author->id
+       . ': '
+       . $author->first_name
+       . ' '
+       . $author->last_name
+       . PHP_EOL;
     $books = $author->findDependentRowset(new MyBook());
     foreach ($books as $book) {
         echo '    Buch: ' . $book->title . PHP_EOL;
         $genreOutputArray = array();
-        foreach ($book->findManyToManyRowset('genre', 'book_to_genre') as $genreRow) {
+        $genres = $book->findManyToManyRowset('genre', 'book_to_genre');
+        foreach ($genres as $genreRow) {
             $genreOutputArray[] = $genreRow->name;
         }
         echo '        Genre: ' . implode(', ', $genreOutputArray) . PHP_EOL;

+ 1 - 1
documentation/manual/de/module_specs/Zend_Filter-RealPath.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16550 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect2 id="zend.filter.set.realpath">
     <title>RealPath</title>

+ 14 - 5
documentation/manual/de/module_specs/Zend_Http_Client-Migration.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 17018 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.http.client.migration">
 
@@ -48,12 +48,21 @@
                 <programlisting language="php"><![CDATA[
 // Zwei Dateien mit dem gleichen Namen des Formularelements als Array hochladen
 $client = new Zend_Http_Client();
-$client->setFileUpload('file1.txt', 'userfile[]', 'some raw data', 'text/plain');
-$client->setFileUpload('file2.txt', 'userfile[]', 'some other data', 'application/octet-stream');
+$client->setFileUpload('file1.txt',
+                       'userfile[]',
+                       'some raw data',
+                       'text/plain');
+$client->setFileUpload('file2.txt',
+                       'userfile[]',
+                       'some other data',
+                       'application/octet-stream');
 
-// In Zend Framework 1.8 oder älter, ist der Wert der geschützten Variable $client->files:
+// In Zend Framework 1.8 oder älter, ist der Wert der geschützten
+// Variable $client->files:
 // $client->files = array(
-//     'userfile[]' => array('file2.txt', 'application/octet-stream', 'some other data')
+//     'userfile[]' => array('file2.txt',
+                             'application/octet-stream',
+                             'some other data')
 // );
 
 // In Zend Framework 1.9 oder neuer, ist der Wert von $client->files:

+ 10 - 6
documentation/manual/de/module_specs/Zend_Search_Lucene-Searching.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16166 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.search.lucene.searching">
     <title>Einen Index durchsuchen</title>
@@ -384,10 +384,13 @@ public function highlight($words, $colour = '#66ffff');
 /**
  * Highlight text using specified View helper or callback function.
  *
- * @param string|array $words  Words to highlight. Words could be organized using the array or string.
- * @param callback $callback   Callback method, used to transform (highlighting) text.
- * @param array    $params     Array of additionall callback parameters passed through into it
- *                             (first non-optional parameter is an HTML fragment for highlighting)
+ * @param string|array $words  Words to highlight. Words could be organized
+                               using the array or string.
+ * @param callback $callback   Callback method, used to transform
+                               (highlighting) text.
+ * @param array    $params     Array of additionall callback parameters passed
+                               through into it (first non-optional parameter
+                               is an HTML fragment for highlighting)
  * @return string
  * @throws Zend_Search_Lucene_Exception
  */
@@ -487,7 +490,8 @@ interface Zend_Search_Lucene_Search_Highlighter_Interface
     /**
      * Highlight specified words (method is invoked once per subquery)
      *
-     * @param string|array $words  Words to highlight. They could be organized using the array or string.
+     * @param string|array $words  Words to highlight. They could be
+                                   organized using the array or string.
      */
     public function highlight($words);
 }

+ 10 - 4
documentation/manual/de/module_specs/Zend_Test-PHPUnit-Db-Adapter.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16914 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect2 id="zend.test.phpunit.db.adapter">
     <title>Using the Database Testing Adapter</title>
@@ -51,9 +51,15 @@ $rs = $adapter->query('SELECT ...'); // Returns Statement 1
 
     <programlisting language="php"><![CDATA[
 $adapter = new Zend_Test_DbAdapter();
-$adapter->appendStatementToStack(Zend_Test_DbStatement::createInsertStatement(1));
-$adapter->appendStatementToStack(Zend_Test_DbStatement::createUpdateStatement(2));
-$adapter->appendStatementToStack(Zend_Test_DbStatement::createDeleteStatement(10));
+$adapter->appendStatementToStack(
+    Zend_Test_DbStatement::createInsertStatement(1)
+);
+$adapter->appendStatementToStack(
+    Zend_Test_DbStatement::createUpdateStatement(2)
+);
+$adapter->appendStatementToStack(
+    Zend_Test_DbStatement::createDeleteStatement(10)
+);
 ]]></programlisting>
 
     <para>

+ 8 - 4
documentation/manual/de/module_specs/Zend_Test-PHPUnit-Db-Quickstart.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16914 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect2 id="zend.test.phpunit.db.quickstart">
     <title>Quickstart</title>
@@ -182,11 +182,14 @@ class BugsTest extends Zend_Test_PHPUnit_DatabaseTestCase
 
         $bugsTable->insert($data);
 
-        $ds = new Zend_Test_PHPUnit_Db_DataSet_QueryDataSet($this->getConnection());
+        $ds = new Zend_Test_PHPUnit_Db_DataSet_QueryDataSet(
+            $this->getConnection()
+        );
         $ds->addTable('zfbugs', 'SELECT * FROM zfbugs');
 
         $this->assertDataSetsEqual(
-            $this->createFlatXmlDataSet(dirname(__FILE__)."/_files/bugsInsertIntoAssertion.xml"),
+            $this->createFlatXmlDataSet(dirname(__FILE__)
+                                      . "/_files/bugsInsertIntoAssertion.xml"),
             $ds
         );
     }
@@ -238,7 +241,8 @@ class BugsTest extends Zend_Test_PHPUnit_DatabaseTestCase
         $ds->addTable($bugsTable);
 
         $this->assertDataSetsEqual(
-            $this->createFlatXmlDataSet(dirname(__FILE__)."/_files/bugsDeleteAssertion.xml"),
+            $this->createFlatXmlDataSet(dirname(__FILE__)
+                                      . "/_files/bugsDeleteAssertion.xml"),
             $ds
         );
     }

+ 7 - 5
documentation/manual/de/module_specs/Zend_Test-PHPUnit-Db-Testing.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16915 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect2 id="zend.test.phpunit.db.testing">
     <title>Usage, API and Extensions Points</title>
@@ -223,12 +223,14 @@ class UserControllerTest extends Zend_Test_PHPUnit_ControllerTestCase
     public function setupDatabase()
     {
         $db = Zend_Db::factory(...);
-        $connection = Zend_Test_PHPUnit_Db_Connection($db, 'database_schema_name');
+        $connection = Zend_Test_PHPUnit_Db_Connection($db,
+                                                      'database_schema_name');
         $databaseTester = new Zend_Test_PHPUnit_Db_SimpleTester($connection);
 
-        $databaseFixture = new PHPUnit_Extensions_Database_DataSet_FlatXmlDataSet(
-            dirname(__FILE__) . '/_files/initialUserFixture.xml'
-        );
+        $databaseFixture =
+                    new PHPUnit_Extensions_Database_DataSet_FlatXmlDataSet(
+                        dirname(__FILE__) . '/_files/initialUserFixture.xml'
+                    );
 
         $databaseTester->setupDatabase($databaseFixture);
     }

+ 6 - 2
documentation/manual/de/module_specs/Zend_Translate-Plurals.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16883 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.translate.plurals">
 
@@ -123,7 +123,11 @@ $translate->translate(array('Car', 'Cars', $number));
 
             <programlisting role="php"><![CDATA[
 $translate = new Zend_Translate('gettext', '/path/to/german.mo', 'de');
-$translate->translate(array('Car', 'Cars first plural', 'Cars second plural', $number, 'ru'));
+$translate->translate(array('Car',
+                            'Cars first plural',
+                            'Cars second plural',
+                            $number,
+                            'ru'));
 ]]></programlisting>
 
         </example>

+ 25 - 20
documentation/manual/de/module_specs/Zend_Validate-InArray.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16394 -->
+<!-- EN-Revision: 17054 -->
 <!-- Reviewed: no -->
 <sect2 id="zend.validate.set.in_array">
 
@@ -19,7 +19,8 @@
         </para>
 
         <programlisting language="php"><![CDATA[
-$validator = new Zend_Validate_InArray(array('key' => 'value', 'otherkey' => 'othervalue'));
+$validator = new Zend_Validate_InArray(array('key' => 'value',
+                                             'otherkey' => 'othervalue'));
 if ($validator->isValid('value')) {
     // Wert gefunden
 } else {
@@ -88,61 +89,65 @@ if ($validator->isValid('value')) {
 ]]></programlisting>
 
         <para>
-            The <emphasis>haystack</emphasis> key contains your array to validate against, and by
-            setting the <emphasis>script</emphasis> key to <constant>TRUE</constant> the validation
-            is done by using a strict type check.
+            Der <emphasis>haystack</emphasis> Schlüssel enthält das eigene Array das für die
+            Prüfung verwendet wird, und durch das Setzen des <emphasis>script</emphasis> Schlüssels
+            auf <constant>TRUE</constant> wird die Prüfung so durchgeführt das der Typ strikt
+            geprüft wird.
         </para>
 
         <para>
-            Of course you can also use the <methodname>setStrict()</methodname> method to change
-            this setting afterwards.
+            Natürlich kann man auch die <methodname>setStrict()</methodname> Methode verwenden
+            um diese Einstellung im Nachhinein zu ändern.
         </para>
 
         <note>
             <para>
-                Note that the <emphasis>strict</emphasis> setting is per default
-                <constant>FALSE</constant>.
+                Es ist zu beachten das die <emphasis>strict</emphasis> Einstellung standardmäßig
+                <constant>FALSE</constant> ist.
             </para>
         </note>
     </sect3>
 
     <sect3 id="zend.validate.set.in_array.recursive">
-        <title>Recursive array validation</title>
+        <title>Rekursive Array Prüfung</title>
 
         <para>
-            In addition to <acronym>PHP</acronym>'s <methodname>in_array()</methodname> method
-            this validator can also be used to validate multidimensional arrays.
+            Zusätzlich zu <acronym>PHP</acronym>'s <methodname>in_array()</methodname> Methode kann
+            diese Prüfung auch verwendet werden um Mehrdimensionale Arrays zu prüfen.
         </para>
 
         <para>
-            To validate multidimensional arrays you have to set the <emphasis>recursive</emphasis>
-            option.
+            Um mehrdimensionale Array zu prüfen muß die <emphasis>recursive</emphasis> Option
+            gesetzt werden.
         </para>
 
         <programlisting language="php"><![CDATA[
 $validator = new Zend_Validate_InArray(
     array(
         'haystack' => array(
-            'firstDimension' => array('key' => 'value', 'otherkey' => 'othervalue'),
-            'secondDimension' => array('some' => 'real', 'different' => 'key')),
+            'firstDimension' => array('key' => 'value',
+                                      'otherkey' => 'othervalue'),
+            'secondDimension' => array('some' => 'real',
+                                       'different' => 'key')),
         'recursive' => true
     )
 );
 
 if ($validator->isValid('value')) {
-    // value found
+    // Wert gefunden
 } else {
-    // no value found
+    // Wert nicht gefunden
 }
 ]]></programlisting>
 
         <para>
-            Your array will then be validated recursive to see if the given value is contained.
+            Das eigene Array wird das rekursiv geprüft um zu sehen ob der angegebene Wert enthalten
+            ist.
         </para>
 
         <note>
             <para>
-                Note that per default the recursive validation is turned off.
+                Es ist zu beachten das die rekursive Prüfung standardmäßig ausgeschaltet ist.
             </para>
         </note>
     </sect3>