import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -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'))) {