[dev] Turba::getDefaultAddressbook
Jan Schneider
jan at horde.org
Fri Mar 18 09:56:34 UTC 2011
Zitat von rsalmon at mbpgroup.com:
>
> Michael M Slusarz <slusarz at horde.org> a écrit :
>>> Quoting Ronan SALMON <rsalmon at mbpgroup.com>:
>> >
>> >> Jan Schneider <jan at horde.org> a écrit :
>> >>
>> >>> Zitat von rsalmon at mbpgroup.com:
>> >>>
>> >>>> hi all,
>> >>>>
>> >>>> I'm having difficulties to get 'localsql' default address book
>> >>>> enable by default. When I login and go to turba's preferences,
>> >>>> localsql is always in 'unselected_sources' list.
>> >>>>
>> >>>> Looking at the code, I see that there are many call to function
>> >>>> Turba::getDefaultAddressbook but I couldn't find where it is
>> >>>> defined.
>> >>>
>> >>> That method? in lib/Turba.php.
>> >>
>> >> Ah, not easy to catch, but it looks like you have some
>> >> getDefaultAddressbook and getDefaultAddressBook.
>> >>
>> >> The B is not always upper case in turba/lib/Api.php and
>> >> turba/lib/Application.php.
>> >
>> > "grep -i" is your friend. :) Or in vim "/[search term]\c"
>
> What I meant was, there are typos in turba's code.
> Turba::getDefaultAddressbook is not defined anywhere.
Method names are case insensitive.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list