function createRelatedTo() {
    $cnt = count( $this->relatedto );
    if( 0 >= $cnt )
      return;
    $output = null;
    foreach( $this->relatedto as $relation ) {
      $attributes = $this->_createParams( $relation['params'] );
      $content    = '<'.$this->_strrep( $relation['value'] ).'>';
      $output    .= $this->_createElement( 'RELATED-TO', $attributes, $content );
    }
    return $output;
  }
function createRelatedTo() {
    $cnt = count( $this->relatedto );
    if( 0 >= $cnt )
      return;
    $output = null;
    foreach( $this->relatedto as $relation ) {
      $attributes = $this->_createParams( $relation['params'] );
      $content    = '<'.$this->_strrep( $relation['value'] ).'>';
      $output    .= $this->_createElement( 'RELATED-TO', $attributes, $content );
    }
    return $output;
  }
function createRelatedTo ( ) { $ cnt = count ( $ this -> relatedto ) ; if ( 0 >= $ cnt ) return ; $ output = null ; foreach ( $ this -> relatedto as $ relation ) { $ attributes = $ this -> _createParams ( $ relation [ 'params' ] ) ; $ content = '<' . $ this -> _strrep ( $ relation [ 'value' ] ) . '>' ; $ output .= $ this -> _createElement ( 'RELATED-TO' , $ attributes , $ content ) ; } return $ output ; }
creates formatted output for calendar component property related-to

@author Kjell-Inge Gustafsson <ical@kigkonsult.se>
@since 2.3.2 - 2007-11-25
@return string
creates formatted output for calendar component property related - to