Issues

ZF-12164: Wrong parameter order for Zend_Feed_Reader::addPrefixPath() in Docs

Issue Type: Docs: Problem Created: 2012-04-20T10:23:01.000+0000 Last Updated: 2012-05-06T03:15:47.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

  • 1.12.0 (27/Aug/12)

Reporter: Frank Brückner (frosch) Assignee: Frank Brückner (frosch) Tags: - Zend_Feed_Reader

  • FixForZF1.12
  • zf-crteam-review

Related issues: Attachments: - de.Zend_Feed_Reader.xml.patch

Description

Wrong parameter order in code examples:

<pre class="highlight">
if(!Zend_Feed_Reader::isRegistered('JungleBooks')) {
    Zend_Feed_Reader::addPrefixPath(
        '/path/to/My/FeedReader/Extension', 'My_FeedReader_Extension' // Wrong!
    );
    Zend_Feed_Reader::registerExtension('JungleBooks');
}

http://framework.zend.com/manual/en/…

Compare with API-doc: {quote}addPrefixPath( string $prefix, string $path ) : void{quote}

Comments

Posted by Frank Brückner (frosch) on 2012-04-20T10:25:00.000+0000

Patches for English and German docs added.

Posted by Adam Lundrigan (adamlundrigan) on 2012-05-06T03:15:47.000+0000

Fixed in trunk (1.12.0): r24770 Fixed in release-1.11 (1.11.12): r24771

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