ZF-6436: Wrong function name in documentation

Issue Type: Docs: Improvement Created: 2009-04-27T03:59:32.000+0000 Last Updated: 2009-04-27T05:18:48.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Daniel Freitag (danielito23) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: Attachments:


The proposed viewhelper that should be implemented, mentioned in the performance-guide on…

implements a method named "direct()". Following the documentation of the view helpers, the method should be named after the name of the view helper class.

This is confusing and obviously wrong.


Posted by Matthew Weier O'Phinney (matthew) on 2009-04-27T04:52:27.000+0000

Actually, in 1.6, we added a direct() method to Zend_View_Helper_Abstract. If that method is available, it will be used; otherwise it falls back to the method/classname mapping.

I'll update the docs to reflect this.

Posted by Matthew Weier O'Phinney (matthew) on 2009-04-27T05:18:46.000+0000

Mea culpa -- while we added the direct() method to Zend_View_Helper_Abstract, we did not add handling of it to Zend_View_Abstract. I've updated the documentation in the performance guide to remove its usage.

Have you found an issue?

See the Overview section for more details.


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

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