[horde] Help needed
    Ralf Lang 
    lang at b1-systems.de
       
    Wed Apr 11 11:30:50 UTC 2018
    
    
  
Am 11.04.2018 um 13:17 schrieb Mike Poznecki:
> Hi, I have the following code in my new private function:
> global $injector, $registry;
> $sparams = $injector->getInstance('IMP_ Contacts')-> getAddressbookSearchParams();
>
> Which I copied directly from another existing Horde page.  When I run it, I get:
> PHP Fatal error: Call to a member function getInstance() on a non-object
> I have tried many things but cannot get this to work. Can someone tell me what I am doing wrong?
Does the app define a factory or binding for IMP_Contacts? Also, the
copypaste looks like there is a space between IMP_ and Contacts.
-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
    
    
More information about the horde
mailing list