function createComponent( &$xcaldecl ) {
    $objectname    = $this->_createFormat();
    $component     = $this->componentStart1.$objectname.$this->componentStart2.$this->nl;
    $component    .= $this->createTzid();
    $component    .= $this->createLastModified();
    $component    .= $this->createTzurl();
    $component    .= $this->createDtstart( TRUE );
    $component    .= $this->createTzoffsetfrom();
    $component    .= $this->createTzoffsetto();
    $component    .= $this->createComment();
    $component    .= $this->createRdate( TRUE );
    $component    .= $this->createRrule();
    $component    .= $this->createTzname();
    $component    .= $this->createXprop();
    if( $this->nl != substr( $component, ( 0 - strlen( $this->nl ))))
      $component  .= $this->nl;
    $component    .= $this->createSubComponent();
    $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->createTzid();
    $component    .= $this->createLastModified();
    $component    .= $this->createTzurl();
    $component    .= $this->createDtstart( TRUE );
    $component    .= $this->createTzoffsetfrom();
    $component    .= $this->createTzoffsetto();
    $component    .= $this->createComment();
    $component    .= $this->createRdate( TRUE );
    $component    .= $this->createRrule();
    $component    .= $this->createTzname();
    $component    .= $this->createXprop();
    if( $this->nl != substr( $component, ( 0 - strlen( $this->nl ))))
      $component  .= $this->nl;
    $component    .= $this->createSubComponent();
    $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 -> createTzid ( ) ; $ component .= $ this -> createLastModified ( ) ; $ component .= $ this -> createTzurl ( ) ; $ component .= $ this -> createDtstart ( TRUE ) ; $ component .= $ this -> createTzoffsetfrom ( ) ; $ component .= $ this -> createTzoffsetto ( ) ; $ component .= $ this -> createComment ( ) ; $ component .= $ this -> createRdate ( TRUE ) ; $ component .= $ this -> createRrule ( ) ; $ component .= $ this -> createTzname ( ) ; $ component .= $ this -> createXprop ( ) ; if ( $ this -> nl != substr ( $ component , ( 0 - strlen ( $ this -> nl ) ) ) ) $ component .= $ this -> nl ; $ component .= $ this -> createSubComponent ( ) ; $ 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 VTIMEZONE 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 VTIMEZONE object instance