Issues

ZF-10616: Wrong method names in Docs - Zend_Layout Advanced Usage > Inflection can be disabled

Issue Type: Docs: Problem Created: 2010-10-30T18:37:51.000+0000 Last Updated: 2010-11-02T14:53:32.000+0000 Status: Resolved Fix version(s): - 1.11.1 (30/Nov/10)

Reporter: jw (ronny stalker) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Layout

Related issues: Attachments:

Description

In the docs for ZF 1.8 (and possibly in later versions too):

http://framework.zend.com/manual/1.8/… (bottom of the page)

It says: {quote} Zend_Layout Advanced Usage ... Note: Inflection can be disabled ... Simply use the enableInflection() and disableInflection() methods. {quote}

However, if you look at the code, those methods do not exist in the Zend_Layout class.

Instead, there are two other methods that do modify the $_inflectorEnabled property:

enableInflector() and disableInflector()

I reckon the line in the docs, at the bottom of the page should be changed from:

bq. Simply use the enableInflection() and disableInflection() methods.

to

bq. Simply use the enableInflector() and disableInflector() methods.

Definitely in version 1.8, possibly in later versions too.

Comments

Posted by Ramon Henrique Ornelas (ramon) on 2010-11-02T14:53:29.000+0000

Fixed in trunk r23286, merged 1.11 release branch r23287 - thanks.

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