@@ 678-684 (lines=7) @@ | ||
675 | ||
676 | foreach ( (array) $value as $v ) { |
|
677 | switch ($component) { |
|
678 | case 'VTODO': |
|
679 | if ( 'EXDATE' == $keyword ) { |
|
680 | $this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ][] = $v; |
|
681 | } else { |
|
682 | $this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ] = $v; |
|
683 | } |
|
684 | break; |
|
685 | case 'VEVENT': |
|
686 | if ( 'EXDATE' == $keyword ) { |
|
687 | $this->cal[ $component ][ $this->event_count - 1 ][ $keyword ][] = $v; |
|
@@ 685-691 (lines=7) @@ | ||
682 | $this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ] = $v; |
|
683 | } |
|
684 | break; |
|
685 | case 'VEVENT': |
|
686 | if ( 'EXDATE' == $keyword ) { |
|
687 | $this->cal[ $component ][ $this->event_count - 1 ][ $keyword ][] = $v; |
|
688 | } else { |
|
689 | $this->cal[ $component ][ $this->event_count - 1 ][ $keyword ] = $v; |
|
690 | } |
|
691 | break; |
|
692 | default: |
|
693 | $this->cal[ $component ][ $keyword ] = $v; |
|
694 | break; |