/** * Constructor * * @return void */ public function __construct() { $this->setRegistry(IfwPsn_Vendor_Zend_View_Helper_Placeholder_Registry::getRegistry()); $this->setContainer($this->getRegistry()->getContainer($this->_regKey)); }
/** * Constructor * * Retrieve container registry from IfwPsn_Vendor_Zend_Registry, or create new one and register it. * * @return void */ public function __construct() { $this->_registry = IfwPsn_Vendor_Zend_View_Helper_Placeholder_Registry::getRegistry(); }
/** * Initialize placeholder container for layout vars * * @return IfwPsn_Vendor_Zend_View_Helper_Placeholder_Container */ protected function _initVarContainer() { if (null === $this->_container) { require_once IFW_PSN_LIB_ROOT . 'IfwPsn/Vendor/Zend/View/Helper/Placeholder/Registry.php'; $this->_container = IfwPsn_Vendor_Zend_View_Helper_Placeholder_Registry::getRegistry()->getContainer(__CLASS__); } return $this->_container; }