Browse Source

ZF-8704: Documentation: Correct example in Zend_Form_Decorator_Description docs

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24841 44c647ce-9c0f-0410-b52a-842ac1e357ba
adamlundrigan 13 years ago
parent
commit
c55e17b839

+ 1 - 1
documentation/manual/de/module_specs/Zend_Form-StandardDecorators.xml

@@ -84,7 +84,7 @@ class Util
             <property>tag</property> Option spezifiziert werden, bei der Erstellung des Dekorators,
             oder durch Aufruf von <methodname>setTag()</methodname>. Zusätzlich kann eine Klasse für
             das Tag spezifiziert werden, indem die <property>class</property> Option verwendet wird,
-            oder durch den Aufruf von <methodname>setClass()</methodname>; standardmäßig wird die
+            oder durch den Aufruf von <methodname>setOption('class', 'foo')</methodname>; standardmäßig wird die
             Klasse 'hint' verwendet.
         </para>
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Form-StandardDecorators.xml

@@ -86,7 +86,7 @@ class Util
             passing a <property>tag</property> option when creating the decorator, or
             calling <methodname>setTag()</methodname>. You may additionally specify a class
             for the tag using the <property>class</property> option or by calling
-            <methodname>setClass()</methodname>; by default, the class 'hint' is used.
+            <methodname>setOption('class', 'foo')</methodname>; by default, the class 'hint' is used.
         </para>
 
         <para>