Code Duplication    Length = 37-37 lines in 2 locations

main/inc/lib/icalcreator/iCalcreator.class.php 2 locations

@@ 6946-6982 (lines=37) @@
6943
     * @since 2.5.1 - 2008-10-31
6944
     * @return void
6945
     */
6946
    function __construct() {
6947
        $this->calendarComponent();
6948
6949
        $this->attach          = '';
6950
        $this->attendee        = '';
6951
        $this->categories      = '';
6952
        $this->class           = '';
6953
        $this->comment         = '';
6954
        $this->contact         = '';
6955
        $this->created         = '';
6956
        $this->description     = '';
6957
        $this->dtstart         = '';
6958
        $this->dtend           = '';
6959
        $this->duration        = '';
6960
        $this->exdate          = '';
6961
        $this->exrule          = '';
6962
        $this->geo             = '';
6963
        $this->lastmodified    = '';
6964
        $this->location        = '';
6965
        $this->organizer       = '';
6966
        $this->priority        = '';
6967
        $this->rdate           = '';
6968
        $this->recurrenceid    = '';
6969
        $this->relatedto       = '';
6970
        $this->requeststatus   = '';
6971
        $this->resources       = '';
6972
        $this->rrule           = '';
6973
        $this->sequence        = '';
6974
        $this->status          = '';
6975
        $this->summary         = '';
6976
        $this->transp          = '';
6977
        $this->url             = '';
6978
        $this->xprop           = '';
6979
6980
        $this->components      = array();
6981
6982
    }
6983
    /**
6984
     * create formatted output for calendar component VEVENT object instance
6985
     *
@@ 7084-7120 (lines=37) @@
7081
     * @since 2.5.1 - 2008-10-31
7082
     * @return void
7083
     */
7084
    function __construct() {
7085
        $this->calendarComponent();
7086
7087
        $this->attach          = '';
7088
        $this->attendee        = '';
7089
        $this->categories      = '';
7090
        $this->class           = '';
7091
        $this->comment         = '';
7092
        $this->completed       = '';
7093
        $this->contact         = '';
7094
        $this->created         = '';
7095
        $this->description     = '';
7096
        $this->dtstart         = '';
7097
        $this->due             = '';
7098
        $this->duration        = '';
7099
        $this->exdate          = '';
7100
        $this->exrule          = '';
7101
        $this->geo             = '';
7102
        $this->lastmodified    = '';
7103
        $this->location        = '';
7104
        $this->organizer       = '';
7105
        $this->percentcomplete = '';
7106
        $this->priority        = '';
7107
        $this->rdate           = '';
7108
        $this->recurrenceid    = '';
7109
        $this->relatedto       = '';
7110
        $this->requeststatus   = '';
7111
        $this->resources       = '';
7112
        $this->rrule           = '';
7113
        $this->sequence        = '';
7114
        $this->status          = '';
7115
        $this->summary         = '';
7116
        $this->url             = '';
7117
        $this->xprop           = '';
7118
7119
        $this->components      = array();
7120
    }
7121
    /**
7122
     * create formatted output for calendar component VTODO object instance
7123
     *