Mantis - Quercus
Viewing Issue Advanced Details
4243 minor always 10-06-10 14:13 11-10-10 16:44
domdorn  
domdorn  
normal  
closed 4.0.11  
fixed  
none    
none 4.0.13  
0004243: overloading __isset / __unset not working
the __isset overloading as defined in
http://de.php.net/manual/en/language.oop5.overloading.php [^]
is not working.

This is used in ZendFramework 1.10.8 at least in the file
/library/Zend/Controller/Action/HelperBroker.php

    public static function hasHelper($name)
    {
        $name = self::_normalizeHelperName($name);
        return isset(self::getStack()->{$name});
    }

which breaks ViewRenderer resolution.
A temporary fix at least in that method would be this:

    public static function hasHelper($name)
    {
        $name = self::_normalizeHelperName($name);
        return self::getStack()->__get($name) !== false;
    }

 39ku.qa [^] (577 bytes) 10-07-10 07:42
 39kv.qa [^] (1,222 bytes) 10-07-10 08:19

Notes
(0004830)
domdorn   
11-10-10 16:44   
resolved.