瀏覽代碼

ZF-11449
Zend_Feed_Writer
[DOCUMENTATION] Corrected erroneous function name (setCategories() -> addCategories())


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24122 44c647ce-9c0f-0410-b52a-842ac1e357ba

adamlundrigan 14 年之前
父節點
當前提交
04ce33bd0d
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      documentation/manual/en/module_specs/Zend_Feed_Writer.xml

+ 4 - 2
documentation/manual/en/module_specs/Zend_Feed_Writer.xml

@@ -656,7 +656,7 @@ $out = $feed->export('atom');
                     </row>
 
                     <row>
-                        <entry><methodname>setCategories()</methodname></entry>
+                        <entry><methodname>addCategories()</methodname></entry>
 
                         <entry>
                             Accepts an array of categories for rendering, where each element is
@@ -666,7 +666,9 @@ $out = $feed->export('atom');
                             readable category name supporting special characters (it is encoded
                             during rendering) and is a required key. The "scheme" (called the domain
                             in <acronym>RSS</acronym>) is optional but must be a valid
-                            <acronym>URI</acronym>.
+                            <acronym>URI</acronym>. The method
+                            <methodname>addCategory()</methodname> allows adding a single category
+                            at a time.
                         </entry>
                     </row>