@@ 647-653 (lines=7) @@ | ||
644 | ||
645 | foreach ( (array) $value as $v ) { |
|
646 | switch ($component) { |
|
647 | case 'VTODO': |
|
648 | if ( 'EXDATE' == $keyword ) { |
|
649 | $this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ][] = $v; |
|
650 | } else { |
|
651 | $this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ] = $v; |
|
652 | } |
|
653 | break; |
|
654 | case 'VEVENT': |
|
655 | if ( 'EXDATE' == $keyword ) { |
|
656 | $this->cal[ $component ][ $this->event_count - 1 ][ $keyword ][] = $v; |
|
@@ 654-660 (lines=7) @@ | ||
651 | $this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ] = $v; |
|
652 | } |
|
653 | break; |
|
654 | case 'VEVENT': |
|
655 | if ( 'EXDATE' == $keyword ) { |
|
656 | $this->cal[ $component ][ $this->event_count - 1 ][ $keyword ][] = $v; |
|
657 | } else { |
|
658 | $this->cal[ $component ][ $this->event_count - 1 ][ $keyword ] = $v; |
|
659 | } |
|
660 | break; |
|
661 | default: |
|
662 | $this->cal[ $component ][ $keyword ] = $v; |
|
663 | break; |