@@ 6991-7033 (lines=43) @@ | ||
6988 | * @param array $xcaldecl |
|
6989 | * @return string |
|
6990 | */ |
|
6991 | function createComponent( &$xcaldecl ) { |
|
6992 | $objectname = $this->_createFormat(); |
|
6993 | $component = $this->componentStart1.$objectname.$this->componentStart2.$this->nl; |
|
6994 | $component .= $this->createUid(); |
|
6995 | $component .= $this->createDtstamp(); |
|
6996 | $component .= $this->createAttach(); |
|
6997 | $component .= $this->createAttendee(); |
|
6998 | $component .= $this->createCategories(); |
|
6999 | $component .= $this->createComment(); |
|
7000 | $component .= $this->createContact(); |
|
7001 | $component .= $this->createClass(); |
|
7002 | $component .= $this->createCreated(); |
|
7003 | $component .= $this->createDescription(); |
|
7004 | $component .= $this->createDtstart(); |
|
7005 | $component .= $this->createDtend(); |
|
7006 | $component .= $this->createDuration(); |
|
7007 | $component .= $this->createExdate(); |
|
7008 | $component .= $this->createExrule(); |
|
7009 | $component .= $this->createGeo(); |
|
7010 | $component .= $this->createLastModified(); |
|
7011 | $component .= $this->createLocation(); |
|
7012 | $component .= $this->createOrganizer(); |
|
7013 | $component .= $this->createPriority(); |
|
7014 | $component .= $this->createRdate(); |
|
7015 | $component .= $this->createRrule(); |
|
7016 | $component .= $this->createRelatedTo(); |
|
7017 | $component .= $this->createRequestStatus(); |
|
7018 | $component .= $this->createRecurrenceid(); |
|
7019 | $component .= $this->createResources(); |
|
7020 | $component .= $this->createSequence(); |
|
7021 | $component .= $this->createStatus(); |
|
7022 | $component .= $this->createSummary(); |
|
7023 | $component .= $this->createTransp(); |
|
7024 | $component .= $this->createUrl(); |
|
7025 | $component .= $this->createXprop(); |
|
7026 | $component .= $this->createSubComponent(); |
|
7027 | $component .= $this->componentEnd1.$objectname.$this->componentEnd2; |
|
7028 | if( is_array( $this->xcaldecl ) && ( 0 < count( $this->xcaldecl ))) { |
|
7029 | foreach( $this->xcaldecl as $localxcaldecl ) |
|
7030 | $xcaldecl[] = $localxcaldecl; |
|
7031 | } |
|
7032 | return $component; |
|
7033 | } |
|
7034 | } |
|
7035 | /*********************************************************************************/ |
|
7036 | /*********************************************************************************/ |
|
@@ 7129-7172 (lines=44) @@ | ||
7126 | * @param array $xcaldecl |
|
7127 | * @return string |
|
7128 | */ |
|
7129 | function createComponent( &$xcaldecl ) { |
|
7130 | $objectname = $this->_createFormat(); |
|
7131 | $component = $this->componentStart1.$objectname.$this->componentStart2.$this->nl; |
|
7132 | $component .= $this->createUid(); |
|
7133 | $component .= $this->createDtstamp(); |
|
7134 | $component .= $this->createAttach(); |
|
7135 | $component .= $this->createAttendee(); |
|
7136 | $component .= $this->createCategories(); |
|
7137 | $component .= $this->createClass(); |
|
7138 | $component .= $this->createComment(); |
|
7139 | $component .= $this->createCompleted(); |
|
7140 | $component .= $this->createContact(); |
|
7141 | $component .= $this->createCreated(); |
|
7142 | $component .= $this->createDescription(); |
|
7143 | $component .= $this->createDtstart(); |
|
7144 | $component .= $this->createDue(); |
|
7145 | $component .= $this->createDuration(); |
|
7146 | $component .= $this->createExdate(); |
|
7147 | $component .= $this->createExrule(); |
|
7148 | $component .= $this->createGeo(); |
|
7149 | $component .= $this->createLastModified(); |
|
7150 | $component .= $this->createLocation(); |
|
7151 | $component .= $this->createOrganizer(); |
|
7152 | $component .= $this->createPercentComplete(); |
|
7153 | $component .= $this->createPriority(); |
|
7154 | $component .= $this->createRdate(); |
|
7155 | $component .= $this->createRelatedTo(); |
|
7156 | $component .= $this->createRequestStatus(); |
|
7157 | $component .= $this->createRecurrenceid(); |
|
7158 | $component .= $this->createResources(); |
|
7159 | $component .= $this->createRrule(); |
|
7160 | $component .= $this->createSequence(); |
|
7161 | $component .= $this->createStatus(); |
|
7162 | $component .= $this->createSummary(); |
|
7163 | $component .= $this->createUrl(); |
|
7164 | $component .= $this->createXprop(); |
|
7165 | $component .= $this->createSubComponent(); |
|
7166 | $component .= $this->componentEnd1.$objectname.$this->componentEnd2; |
|
7167 | if( is_array( $this->xcaldecl ) && ( 0 < count( $this->xcaldecl ))) { |
|
7168 | foreach( $this->xcaldecl as $localxcaldecl ) |
|
7169 | $xcaldecl[] = $localxcaldecl; |
|
7170 | } |
|
7171 | return $component; |
|
7172 | } |
|
7173 | } |
|
7174 | /*********************************************************************************/ |
|
7175 | /*********************************************************************************/ |