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: 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