Create recurring pattern

Hi,
I want to make the recurring portion of the lightbox separate. I want to implement the recurring form in another page just to generate the recurring pattern. Is there any function with which I can generate this pattern?

Please reply. I need to know if there is a function with which I can generate the recurring pattern.

The recurring pattern is basically a string with recuring info encoded
Rules how to construct it described in the next article
docs.dhtmlx.com/doku.php?id=dhtm … g_events&s[]=scheduler&s[]=recurring#server_side_integration