Author: schaetzle
Date: 2010-01-28 17:46:26 +0100 (Thu, 28 Jan 2010)
New Revision: 27280
Modified:
doc/branches/1.4/more-with-symfony/de/08-Advanced-Doctrine-Usage.markdown
Log:
Modified:
doc/branches/1.4/more-with-symfony/de/08-Advanced-Doctrine-Usage.markdown
===================================================================
--- doc/branches/1.4/more-with-symfony/de/08-Advanced-Doctrine-Usage.markdown
2010-01-28 15:39:27 UTC (rev 27279)
+++ doc/branches/1.4/more-with-symfony/de/08-Advanced-Doctrine-Usage.markdown
2010-01-28 16:46:26 UTC (rev 27280)
@@ -47,10 +47,10 @@
Zunächst muss die Basis-`Doctrine_Template`-Kinderklasse erstellt werden.
Diese
wird sich darum kümmern, dass die Felder dem Modell hinzugefügt werden, welche
-die Werte speichert.
+die Werte speichern.
Die Klasse kann einfach irgendwo im `lib/`-Verzeichnis des Projekts
gespeichert
-werden und symfony lädt sie automatisch:
+werden. Symfony lädt sie dann automatisch:
[php]
// lib/count_cache/CountCache.class.php
@@ -65,7 +65,8 @@
}
}
-Now let's modify the `Post` model to `actAs` the `CountCache` behavior:
+Als nächstes modifizieren wir das `Post`-Modell mit `actAs` `CountCache`-
+Behaviour:
[yml]
# config/doctrine/schema.yml
@@ -74,8 +75,8 @@
CountCache: ~
# ...
-Now that we have the `Post` model using the `CountCache` behavior let me
explain
-a little about what happens with it.
+Jetzt da das `Post`-Modell die `CountCache`-Behaviour nutzt, zeigt der nächste
+Abschnitt, was man damit machen kann.
When the mapping information for a model is instantiated, any attached
behaviors
get the `setTableDefinition()` and `setUp()` methods invoked. Just like you
have
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.