PHP code example of elabx / fieldtype-recurring-dates

1. Go to this page and download the library: Download elabx/fieldtype-recurring-dates library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

elabx / fieldtype-recurring-dates example snippets


$finder = $modules->get('ReccurringDatesFinder')
$output = $finder->find(
     // from date 
    'today', 
    // to date
    '+30 days', 
    $selector, [
        'fields' => [ // Will find event occurrences in fields specified in this array 
            'recurring_meetings',
            'recurring_events'
        ]
    ]