[commits] Horde branch master updated. b27c001009cb4e719a8a993b72bc998cece09c02

Michael M Slusarz slusarz at horde.org
Fri Sep 14 23:08:18 UTC 2012


The branch "master" has been updated.
The following is a summary of the commits.

from: d6d35ae93869429190b11d589cd65c52bb677d16

b27c001 Fix API method determination during initialization

-----------------------------------------------------------------------

commit b27c001009cb4e719a8a993b72bc998cece09c02
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Fri Sep 14 16:58:52 2012 -0600

    Fix API method determination during initialization
    
    Looks to be a limitation with PHP's __get() magic method.  If you call a
    function inside of __get() that, in turn, calls the same __get() method
    name again, this is flagged as an unsuccessful parameter lookup and this
    second lookup incorrectly fails.
    
    Workaround by defining method calls to return disabled, link, method,
    and noPerms information.

 folks/lib/Api.php                         |    9 ++--
 framework/Core/lib/Horde/Registry.php     |   10 ++--
 framework/Core/lib/Horde/Registry/Api.php |   78 +++++++++++++++++++----------
 ingo/lib/Api.php                          |   40 ++++++---------
 4 files changed, 79 insertions(+), 58 deletions(-)

http://git.horde.org/horde-git/-/commit/b27c001009cb4e719a8a993b72bc998cece09c02




More information about the commits mailing list