ZF-2210: Zend_View_Interface sample causes Warning.

Issue Type: Docs: Improvement Created: 2007-11-16T06:26:48.000+0000 Last Updated: 2008-02-26T12:56:07.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: old of Satoru Yoshida ( Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: Attachments:


I know an sample causes waring. The sample is in Template Systems Using Zend_View_Interface.

Now , getScriptPaths method in sample class Zend_View_Smarty return waring message. The message is following. Invalid argument supplied for foreach() in........ Zend/Controller/Action/Helper/ViewRenderer.php on line 322.

I propose to change getScriptPaths method from return $this->_smarty->template_dir; to return array($this->_smarty->template_dir);


Posted by Matthew Weier O'Phinney (matthew) on 2008-02-14T09:39:21.000+0000

Scheduling for 1.0.4 release.

Posted by Matthew Weier O'Phinney (matthew) on 2008-02-18T13:48:09.000+0000

Fixed in current trunk; thanks for the report!

Have you found an issue?

See the Overview section for more details.


© 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.