function createComponent( &$xcaldecl ) {
    $objectname = $this->_createFormat();
    $component  = $this->componentStart1.$objectname.$this->componentStart2.$this->nl;
    $component .= $this->createUid();
    $component .= $this->createDtstamp();
    $component .= $this->createAttendee();
    $component .= $this->createComment();
    $component .= $this->createContact();
    $component .= $this->createDtend();
    $component .= $this->createDtstart();
    $component .= $this->createDuration();
    $component .= $this->createFreebusy();
    $component .= $this->createOrganizer();
    $component .= $this->createRequestStatus();
    $component .= $this->createUrl();
    $component .= $this->createXprop();
    $component .= $this->componentEnd1.$objectname.$this->componentEnd2;
    if( is_array( $this->xcaldecl ) && ( 0 < count( $this->xcaldecl ))) {
      foreach( $this->xcaldecl as $localxcaldecl )
        $xcaldecl[] = $localxcaldecl;
    }
    return $component;
  }
function createComponent( &$xcaldecl ) {
    $objectname = $this->_createFormat();
    $component  = $this->componentStart1.$objectname.$this->componentStart2.$this->nl;
    $component .= $this->createUid();
    $component .= $this->createDtstamp();
    $component .= $this->createAttendee();
    $component .= $this->createComment();
    $component .= $this->createContact();
    $component .= $this->createDtend();
    $component .= $this->createDtstart();
    $component .= $this->createDuration();
    $component .= $this->createFreebusy();
    $component .= $this->createOrganizer();
    $component .= $this->createRequestStatus();
    $component .= $this->createUrl();
    $component .= $this->createXprop();
    $component .= $this->componentEnd1.$objectname.$this->componentEnd2;
    if( is_array( $this->xcaldecl ) && ( 0 < count( $this->xcaldecl ))) {
      foreach( $this->xcaldecl as $localxcaldecl )
        $xcaldecl[] = $localxcaldecl;
    }
    return $component;
  }
function createComponent ( & $ xcaldecl ) { $ objectname = $ this -> _createFormat ( ) ; $ component = $ this -> componentStart1 . $ objectname . $ this -> componentStart2 . $ this -> nl ; $ component .= $ this -> createUid ( ) ; $ component .= $ this -> createDtstamp ( ) ; $ component .= $ this -> createAttendee ( ) ; $ component .= $ this -> createComment ( ) ; $ component .= $ this -> createContact ( ) ; $ component .= $ this -> createDtend ( ) ; $ component .= $ this -> createDtstart ( ) ; $ component .= $ this -> createDuration ( ) ; $ component .= $ this -> createFreebusy ( ) ; $ component .= $ this -> createOrganizer ( ) ; $ component .= $ this -> createRequestStatus ( ) ; $ component .= $ this -> createUrl ( ) ; $ component .= $ this -> createXprop ( ) ; $ component .= $ this -> componentEnd1 . $ objectname . $ this -> componentEnd2 ; if ( is_array ( $ this -> xcaldecl ) && ( 0 < count ( $ this -> xcaldecl ) ) ) { foreach ( $ this -> xcaldecl as $ localxcaldecl ) $ xcaldecl [ ] = $ localxcaldecl ; } return $ component ; }
create formatted output for calendar component VFREEBUSY object instance

@author Kjell-Inge Gustafsson <ical@kigkonsult.se>
@since 2.3.1 - 2007-11-19
@param array $xcaldecl
@return string
create formatted output for calendar component VFREEBUSY object instance