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

roman stachura stachrom at gmail.com
Fri Apr 10 18:31:14 UTC 2009


2009/4/10 JP Edwards <jpedwardspost at yahoo.co.uk>:
> 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.

take a look at  kronolith/lib/api.php

and than check out mikas site: http://theupstairsroom.com/tag/horde
and you may be interested in
http://cvs.horde.org/co.php/framework/RPC/tests/rpc-test.php?r=1.5.10.3

and

http://cvs.horde.org/framework/RPC/docs/examples/


so thats it...







>
> 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.
>
>
>
>
>
> --
> Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>


More information about the kronolith mailing list