Issues

ZF-2810: Non-public methods in Zend_View_Helper_Placeholder_Container_Abstract trigger PHP warnings

Issue Type: Bug Created: 2008-03-05T17:54:01.000+0000 Last Updated: 2008-03-21T17:29:28.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Robin Skoglund (robinsk) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: Attachments:

Description

When using view helpers that extend Zend_View_Helper_Placeholder_Container_Standalone (HeadMeta, HeadTitle, etc), calling methods that will proxy to the container class will fail when those methods are not public. Currently, there is only one non-public method in Zend_View_Helper_Placeholder_Container_Abstract, which is _getWhiteSpace(). This is used when specifying indentation in the toString() method, and will trigger a PHP warning on line 207 in Zend_View_Helper_Placeholder_Container_Standalone.

Either, the _getWhiteSpace() method should be made public and the references to it should be updated, or there should be a check in the proxy to discard calls to non-public methods.

Comments

Posted by Matthew Weier O'Phinney (matthew) on 2008-03-11T09:06:40.000+0000

Scheduling for RC2... if possible.

Posted by Matthew Weier O'Phinney (matthew) on 2008-03-11T14:42:37.000+0000

Resolved in trunk and 1.5 release branch.

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