Exemplo n.º 1
0
 /**
  * Constructor
  *
  * @return void
  */
 public function __construct()
 {
     $this->setRegistry(IfwPsn_Vendor_Zend_View_Helper_Placeholder_Registry::getRegistry());
     $this->setContainer($this->getRegistry()->getContainer($this->_regKey));
 }
Exemplo n.º 2
0
 /**
  * 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();
 }
Exemplo n.º 3
0
 /**
  * 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;
 }