Issues

ZF-5926: Inconsistency in docs at 22.1.12, post() vs. insertEntry()

Issue Type: Docs: Problem Created: 2009-03-02T13:36:12.000+0000 Last Updated: 2009-03-03T11:04:19.000+0000 Status: Resolved Fix version(s): - 1.7.7 (16/Mar/09)

Reporter: Zachary Burnham (zburnham) Assignee: Trevor Johns (tjohns) Tags: - Zend_Gdata

Related issues: Attachments:

Description

The text refers to the post() method on Zend_GData but the example refers to insertEntry. These two methods have the same first two arguments, with the second being optional for post().

Comments

Posted by Trevor Johns (tjohns) on 2009-03-02T15:23:36.000+0000

The difference between post() and insetEntry() is that post() returns an instance of Zend_Http_Response, whereas insertEntry() returns an Zend_Gdata_App_Entry.

I think most people don't want to deal with the raw HTTP response, so I'll update the documentation to use insertEntry() exclusively.

Posted by Trevor Johns (tjohns) on 2009-03-02T15:29:10.000+0000

Patch sent to [~jhartmann] for review:

http://codereview.appspot.com/22060

Posted by Trevor Johns (tjohns) on 2009-03-03T11:04:18.000+0000

Committed to trunk as r14212. Committed to release-1.7 as r14213. Marking as resolved for next mini release.

<pre class="literal">
commit 9da63b9568a8d4751fdf4fbc06322b781211191e
Author: tjohns 
Date:   Tue Mar 3 18:52:45 2009 +0000

    ZF-5926: Fix erroneous call to post() instead of insertEntry() in
    Zend_Gdata-Introduction manual page.
    
    Review URL: <a href="http://codereview.appspot.com/22060">http://codereview.appspot.com/22060</a>
    
    git-svn-id: <a href="http://framework.zend.com/svn/framework/standard/trunk@14212">http://framework.zend.com/svn/framework/…</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

commit 3946df841160c3ed5e97dab392b9402d828e9a17
Author: tjohns 
Date:   Tue Mar 3 19:03:44 2009 +0000

    Merge r14212 from trunk to release-1.7.
    
    ZF-5926: Fix erroneous call to post() instead of insertEntry() in
    Zend_Gdata-Introduction manual page.
    
    Review URL: <a href="http://codereview.appspot.com/22060">http://codereview.appspot.com/22060</a>
    
    
    Conflicts:
    
        documentation/manual/en/module_specs/Zend_Gdata-Introduction.xml
    
    git-svn-id: <a href="http://framework.zend.com/svn/framework/standard/branches/release-1.7@14213">http://framework.zend.com/svn/framework/…</a> 44c647ce-9c0f-0410-b52a-842ac

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts