Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for recurrence in createAppointment #23

Open
Antoine81 opened this issue Jul 4, 2017 · 1 comment
Open

Documentation for recurrence in createAppointment #23

Antoine81 opened this issue Jul 4, 2017 · 1 comment

Comments

@Antoine81
Copy link

Hello,

Can you just give me an example to use the method "createAppointment" with recurrences rules ?

It will be kind.
Thank you.

@Antoine81
Copy link
Author

Hello,

I still looking for documentation to use recurrence in createAppointment.

Actually I do this ( doen't work ) :

$simple = new SimpleRepeatingRule(Frequency::DAY);
$until = new DateTimeStringAttr('20170903T215959Z');
$interval = new IntervalRule(1);

$simple->setUntil($until)
            ->setInterval($interval);

$recur = new RecurrenceInfo($simple->toArray());
$comp->setRecurrence($recur);

@nguyennv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant