I'd like to call a .phtml file I have in /application/views/scripts in my view helper located in /library/Foo/View/Helper. Zend shows an error as partial is not a defined method within Zend_View_Helper.
Is what I am trying to do possible? On Zend Framework v1.12.
Syntax would look something like below:
View Helper:
class Foo_View_Helper_NavPopup extends Zend_View_Helper_Abstract
{
public function navPopup() {
$popup = $this->partial("popup.phtml");
return $popup;
}
}
View Script (popup.phtml):
<div id="container">html things and stuff and such and so forth..</div>