[kronolith] What means "a:0:{}"
Ralf Lang
lang at b1-systems.de
Wed Apr 3 10:42:08 UTC 2019
Hi Ferdinand,
Am 03.04.19 um 12:26 schrieb Ferdinand Gruber:
> Am 03.04.19 um 06:35 schrieb Ralf Lang:
>> Hi Ferdinand
>>
>> This is a serialisation String for an array/hash of structured data.
>> They are handled with php serialize / unserialize. a:0 would be an
>> empty array iirc
>>
>> Am 3. April 2019 00:04:47 MESZ schrieb Ferdinand Gruber
>> <fer.grub at yahoo.de>:
>>
>> Hi,
>>
>> in table kronolith_events I see some fields with this value "a:0:{}".
>>
>> That seems to be the default value for several fields.
>>
>> Please can you explain to me what this entry means. Is this value important?
>>
>> Thank you very much.
>>
>>
>> --
>> Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
>
> As I made a little program that creates new events in the
> kronolith_events table, please allow me the question:
>
> Should that fields be set to "a:0:{}" as default value?
>
> Thank you in advance for help.
>
>
Putting new events into a calendar by manipulating the events table
sounds straight-forward but isn't.
You will most likely want to change the history table and possibly the
caldav related tables too, otherwise activesync & friends my just not
see your event.
--
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 kronolith
mailing list