• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List

E:/E/GEAMP/www/openbiz/openbiz/others/Zend/View/Helper/Placeholder.php

00001 <?php
00024 require_once 'Zend/View/Helper/Placeholder/Registry.php';
00025 
00027 require_once 'Zend/View/Helper/Abstract.php';
00028 
00040 class Zend_View_Helper_Placeholder extends Zend_View_Helper_Abstract
00041 {
00046     protected $_items = array();
00047 
00051     protected $_registry;
00052 
00060     public function __construct()
00061     {
00062         $this->_registry = Zend_View_Helper_Placeholder_Registry::getRegistry();
00063     }
00064 
00065 
00072     public function placeholder($name)
00073     {
00074         $name = (string) $name;
00075         return $this->_registry->getContainer($name);
00076     }
00077 
00083     public function getRegistry()
00084     {
00085         return $this->_registry;
00086     }
00087 }

Generated on Thu Apr 19 2012 17:01:18 for openbiz by  doxygen 1.7.2