|
@@ 7336-7358 (lines=23) @@
|
| 7333 |
|
* @param array $xcaldecl |
| 7334 |
|
* @return string |
| 7335 |
|
*/ |
| 7336 |
|
function createComponent( &$xcaldecl ) { |
| 7337 |
|
$objectname = $this->_createFormat(); |
| 7338 |
|
$component = $this->componentStart1.$objectname.$this->componentStart2.$this->nl; |
| 7339 |
|
$component .= $this->createUid(); |
| 7340 |
|
$component .= $this->createDtstamp(); |
| 7341 |
|
$component .= $this->createAttendee(); |
| 7342 |
|
$component .= $this->createComment(); |
| 7343 |
|
$component .= $this->createContact(); |
| 7344 |
|
$component .= $this->createDtstart(); |
| 7345 |
|
$component .= $this->createDtend(); |
| 7346 |
|
$component .= $this->createDuration(); |
| 7347 |
|
$component .= $this->createFreebusy(); |
| 7348 |
|
$component .= $this->createOrganizer(); |
| 7349 |
|
$component .= $this->createRequestStatus(); |
| 7350 |
|
$component .= $this->createUrl(); |
| 7351 |
|
$component .= $this->createXprop(); |
| 7352 |
|
$component .= $this->componentEnd1.$objectname.$this->componentEnd2; |
| 7353 |
|
if( is_array( $this->xcaldecl ) && ( 0 < count( $this->xcaldecl ))) { |
| 7354 |
|
foreach( $this->xcaldecl as $localxcaldecl ) |
| 7355 |
|
$xcaldecl[] = $localxcaldecl; |
| 7356 |
|
} |
| 7357 |
|
return $component; |
| 7358 |
|
} |
| 7359 |
|
} |
| 7360 |
|
/*********************************************************************************/ |
| 7361 |
|
/*********************************************************************************/ |
|
@@ 7483-7504 (lines=22) @@
|
| 7480 |
|
* @param array $xcaldecl |
| 7481 |
|
* @return string |
| 7482 |
|
*/ |
| 7483 |
|
function createComponent( &$xcaldecl ) { |
| 7484 |
|
$objectname = $this->_createFormat(); |
| 7485 |
|
$component = $this->componentStart1.$objectname.$this->componentStart2.$this->nl; |
| 7486 |
|
$component .= $this->createTzid(); |
| 7487 |
|
$component .= $this->createLastModified(); |
| 7488 |
|
$component .= $this->createTzurl(); |
| 7489 |
|
$component .= $this->createDtstart(); |
| 7490 |
|
$component .= $this->createTzoffsetfrom(); |
| 7491 |
|
$component .= $this->createTzoffsetto(); |
| 7492 |
|
$component .= $this->createComment(); |
| 7493 |
|
$component .= $this->createRdate(); |
| 7494 |
|
$component .= $this->createRrule(); |
| 7495 |
|
$component .= $this->createTzname(); |
| 7496 |
|
$component .= $this->createXprop(); |
| 7497 |
|
$component .= $this->createSubComponent(); |
| 7498 |
|
$component .= $this->componentEnd1.$objectname.$this->componentEnd2; |
| 7499 |
|
if( is_array( $this->xcaldecl ) && ( 0 < count( $this->xcaldecl ))) { |
| 7500 |
|
foreach( $this->xcaldecl as $localxcaldecl ) |
| 7501 |
|
$xcaldecl[] = $localxcaldecl; |
| 7502 |
|
} |
| 7503 |
|
return $component; |
| 7504 |
|
} |
| 7505 |
|
} |
| 7506 |
|
?> |