Assuming you're trying to keep yourself as close as possible to the Zend Framework’s presentation of the universe, how should you share the same module from the same module?
Say I have two modules. Module "A" has a view helper named Output.
class Modulea_Zend_View_Helper_Ouput extends Zend_View_Helper_Abstract
{
function output($var)
{
echo strip_tags($var);
return true;
}
}
If I try to use this helper from the view in module "B"
File: moduleb/views/scripts/index/index.phtml
<?php $this->output($somevar); ?>
I get an exception
A plugin named "Exit" was not found in the registry
Which "right" should the auxiliary view element from module B have to use
source
share