method analyze documentation in bbn\Appui\Planning

Analyzes an events list and returns it.

function(string $start, string $end, array $events) { $ret = []; foreach ( $events as $event ){ // Recurring event if ( !empty($event[$this->ecfg['arch']['events']['recurring']]) && ($rec = $this->events->getRecurrences($start, $end, $event)) ){ array_push($ret, ...$rec); } // Normal event if ( ($event[$this->ecfg['arch']['events']['start']] >= $start) && ($event[$this->ecfg['arch']['events']['start']] <= $end) ){ $event['recurrence'] = 0; $ret[] = $event; } } return $ret; }

Analyzes an events list and returns it. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.