Browse Source

Updated docs for ZFR/ZFW last build date RSS support

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22109 44c647ce-9c0f-0410-b52a-842ac1e357ba
padraic 15 years ago
parent
commit
a4ab50e66c

+ 10 - 0
documentation/manual/en/module_specs/Zend_Feed_Reader.xml

@@ -655,6 +655,16 @@ $labels = $categories->getValues();
                     </row>
 
                     <row>
+                        <entry><methodname>getLastBuildDate()</methodname></entry>
+
+                        <entry>
+                            Returns the date on which this feed was last built. The returned date
+                            will be a <classname>Zend_Date</classname> object. This is only
+                            supported by RSS - Atom feeds will always return NULL.
+                        </entry>
+                    </row>
+
+                    <row>
                         <entry><methodname>getLanguage()</methodname></entry>
 
                         <entry>

+ 12 - 0
documentation/manual/en/module_specs/Zend_Feed_Writer.xml

@@ -361,6 +361,18 @@ $out = $feed->export('atom');
                     </row>
 
                     <row>
+                        <entry><methodname>setLastBuildDate()</methodname></entry>
+
+                        <entry>
+                            Sets the date on which this feed was last build. The expected
+                            parameter may be a <acronym>UNIX</acronym> timestamp or a
+                            <classname>Zend_Date</classname> object. This will only be
+                            rendered for RSS 2.0 feeds and is automatically rendered as
+                            the current date by default when not explicity set.
+                        </entry>
+                    </row>
+
+                    <row>
                         <entry><methodname>setLanguage()</methodname></entry>
 
                         <entry>