import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
* @package Zend_View
|
||||
* @subpackage Helper
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: Abstract.php 9099 2008-03-30 19:35:47Z thomas $
|
||||
* @version $Id: Abstract.php 14191 2009-02-28 21:53:47Z matthew $
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
* Abstract class representing container for placeholder values
|
||||
*
|
||||
* @package Zend_View
|
||||
* @subpackage Helpers
|
||||
* @subpackage Helper
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @package Zend_View
|
||||
* @subpackage Helper
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: Standalone.php 11373 2008-09-12 17:00:05Z ralph $
|
||||
* @version $Id: Standalone.php 13197 2008-12-13 13:31:29Z matthew $
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -66,7 +66,6 @@ abstract class Zend_View_Helper_Placeholder_Container_Standalone extends Zend_Vi
|
||||
public function __construct()
|
||||
{
|
||||
$this->setRegistry(Zend_View_Helper_Placeholder_Registry::getRegistry());
|
||||
$registry = $this->getRegistry();
|
||||
$this->setContainer($this->getRegistry()->getContainer($this->_regKey));
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @package Zend_View
|
||||
* @subpackage Helper
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: Registry.php 9099 2008-03-30 19:35:47Z thomas $
|
||||
* @version $Id: Registry.php 15577 2009-05-14 12:43:34Z matthew $
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -158,8 +158,10 @@ class Zend_View_Helper_Placeholder_Registry
|
||||
*/
|
||||
public function setContainerClass($name)
|
||||
{
|
||||
require_once 'Zend/Loader.php';
|
||||
Zend_Loader::loadClass($name);
|
||||
if (!class_exists($name)) {
|
||||
require_once 'Zend/Loader.php';
|
||||
Zend_Loader::loadClass($name);
|
||||
}
|
||||
|
||||
$reflection = new ReflectionClass($name);
|
||||
if (!$reflection->isSubclassOf(new ReflectionClass('Zend_View_Helper_Placeholder_Container_Abstract'))) {
|
||||
|
Reference in New Issue
Block a user