[horde] access backend params inside a hook (SOLVED)

A. Schulze sca at andreasschulze.de
Fri Sep 19 09:51:19 UTC 2014


Jan Schneider:

>>> $injector->getInstance('Passwd_Factory_Driver')->backends contains  
>>> all backend definitions.
>>
>> Hm. get an Exception...

> $injector is not in your scope.

I have to use  
$GLOBALS['injector']->getInstance('Passwd_Factory_Driver')->backends['ldap']['params']['host']

Thanks
Andreas




More information about the horde mailing list