-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added readme. added dockblock to function
- Loading branch information
1 parent
fcbf408
commit 6555060
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
This is a pre-release please do not use in production. | ||
|
||
# FieldtypeRecurringDates | ||
|
||
To do. | ||
Fieldtype for definining recurring dates according to [RFC-RFC 5545)](https://www.rfc-editor.org/rfc/rfc5545#section-3.3.10) and the awesome library | ||
[php-rrule](https://github.com/rlanvin/php-rrule) | ||
|
||
# Finding occurrences | ||
|
||
You can use the module included in this same package to find the rules occurrences: | ||
|
||
``` | ||
$output = $calendarRenderer->render( | ||
$selector, [ | ||
'fields' => [ | ||
// Will find event occurrences in fields specified in this array | ||
'recurring_meetings', | ||
'recurring_events' | ||
] | ||
] | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters