cfevents; if(count($this->overlapswithrepeat) == 0) { $output['withrepeat'] = -1; } else { $output['withrepeat'] = ''; } if(count($this->overlapswithoutrepeat) == 0) { $output['withoutrepeat'] = -1; } else { $output['withoutrepeat'] = ''; } echo json_encode($output); ?>