[horde] access backend params inside a hook

Jan Schneider jan at horde.org
Wed Sep 17 10:45:47 UTC 2014


Zitat von A. Schulze <sca at andreasschulze.de>:

> Hello,
>
> my backend.local.php for horde/passwd set
>
>  $backends['ldap']['params']['host'] = ...
>  $backends['ldap']['params']['basedn'] = ...
>
> how is it possible to use these values inside the userdn hook?
>
> Thanks
> Andreas

$injector->getInstance('Passwd_Factory_Driver')->backends contains all  
backend definitions.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list