function createComponent( &$xcaldecl ) {
    $objectname    = $this->_createFormat();
    $component     = $this->componentStart1.$objectname.$this->componentStart2.$this->nl;
    $component    .= $this->createAction();
    $component    .= $this->createAttach();
    $component    .= $this->createAttendee();
    $component    .= $this->createDescription();
    $component    .= $this->createDuration();
    $component    .= $this->createRepeat();
    $component    .= $this->createSummary();
    $component    .= $this->createTrigger();
    $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->createAction();
    $component    .= $this->createAttach();
    $component    .= $this->createAttendee();
    $component    .= $this->createDescription();
    $component    .= $this->createDuration();
    $component    .= $this->createRepeat();
    $component    .= $this->createSummary();
    $component    .= $this->createTrigger();
    $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 -> createAction ( ) ; $ component .= $ this -> createAttach ( ) ; $ component .= $ this -> createAttendee ( ) ; $ component .= $ this -> createDescription ( ) ; $ component .= $ this -> createDuration ( ) ; $ component .= $ this -> createRepeat ( ) ; $ component .= $ this -> createSummary ( ) ; $ component .= $ this -> createTrigger ( ) ; $ 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 VALARM object instance

@author Kjell-Inge Gustafsson <ical@kigkonsult.se>
@since 2.0.6 - 2007-06-20
@param array $xcaldecl
@return string
create formatted output for calendar component VALARM object instance