function createVersion() {
    if( !isset( $this->version ))
      $this->_makeVersion();
    switch( $this->format ) {
      case 'xcal':
        return ' version="'.$this->version.'"'.$this->nl;
        break;
      default:
        return 'VERSION:'.$this->version.$this->nl;
        break;
    }
  }
function createVersion() {
    if( !isset( $this->version ))
      $this->_makeVersion();
    switch( $this->format ) {
      case 'xcal':
        return ' version="'.$this->version.'"'.$this->nl;
        break;
      default:
        return 'VERSION:'.$this->version.$this->nl;
        break;
    }
  }
function createVersion ( ) { if ( ! isset ( $ this -> version ) ) $ this -> _makeVersion ( ) ; switch ( $ this -> format ) { case 'xcal' : return ' version="' . $ this -> version . '"' . $ this -> nl ; break ; default : return 'VERSION:' . $ this -> version . $ this -> nl ; break ; } }
creates formatted output for calendar property version


@author Kjell-Inge Gustafsson <ical@kigkonsult.se>
@since 0.9.7 - 2006-11-20
@return string
creates formatted output for calendar property version