[kronolith] Insert event into kronolith_events using 3rd party app

JP Edwards jpedwardspost at yahoo.co.uk
Fri Apr 10 17:34:49 UTC 2009


I would like to use a 3rd party php application built using phprunner to insert a kronolith event in the kronolith_events table.  This is because I want to use kronolith as the calendar for the phprunner application.

Looking at the structure of kronolith_events table I see it has 4 not null fields:
events_id, event_uid, calendar_id and event_creator_id.  The last two (calendar_id and event_creator_id) I know I can manage to populate but how can I generate correct values for events_id and event_uid.

Ideally I would like to call a function that would create or 'reserve' an empty kronolith event and pass me back the event_id.  I could then populate the other fields.

I am not advanced in php object programming and at the moment find the kronolith scripts challenging so thanks in advance for any advice given.

Regards,
JP.




      


More information about the kronolith mailing list