[dev] turba + own_contact

Michael J Rubinsky mrubinsk at horde.org
Wed Dec 28 16:11:31 UTC 2011


Quoting Javed Chauhan <little_heartly at yahoo.co.in>:

> Ok now i can use localsql as source_name but what about contact_id? what is
> the value of contact_id because every user has its own contact_id or i am
> thinking wrong?
> I do not find any contact_id filed in any of turba tables in database.
> Please advice.

Why are you trying to do this manually?


>
>
> Michael J Rubinsky wrote:
>>
>>
>> Quoting Javed Chauhan <little_heartly at yahoo.co.in>:
>>
>>> What are the possible values in turba own contact in below array.
>>> What is source_name and what is contact_id.
>>
>> source_name is the identifier of the address book. For example, if
>> using the sql based 'localsql' source with shares, this would be the
>> share_name. The contact_id is the identifier of the specific entry in
>> source_name for the contact to mark as the user's "own" contact.
>>
>>> because i thing contact_id is
>>> different for all users.
>>
>>>
>>>  $_prefs['own_contact'] = array(
>>>      // The format is 'source_name;contact_id'.
>>>      'value' => '',
>>>      'locked' => false,
>>>      'shared' => false,
>>>      'type' => 'implicit'
>>>  );
>>> --
>>> View this message in context:
>>> http://old.nabble.com/turba-%2B-own_contact-tp33040618p33040618.html
>>> Sent from the Horde - Dev mailing list archive at Nabble.com.
>>>
>>> --
>>> Horde developers mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>>
>>
>> --
>> mike
>>
>> The Horde Project (www.horde.org)
>> mrubinsk at horde.org
>>
>>
>> --
>> Horde developers mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>>
>>
>
> --
> View this message in context:  
> http://old.nabble.com/turba-%2B-own_contact-tp33040618p33044645.html
> Sent from the Horde - Dev mailing list archive at Nabble.com.
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org



More information about the dev mailing list