function _createFormat() {
    $objectname                   = null;
    switch( $this->format ) {
      case 'xcal':
        $objectname               = ( isset( $this->timezonetype )) ?
                                 strtolower( $this->timezonetype )  :  strtolower( $this->objName );
        $this->componentStart1    = $this->elementStart1 = '<';
        $this->componentStart2    = $this->elementStart2 = '>';
        $this->componentEnd1      = $this->elementEnd1   = '</';
        $this->componentEnd2      = $this->elementEnd2   = '>'.$this->nl;
        $this->intAttrDelimiter   = '<!-- -->';
        $this->attributeDelimiter = $this->nl;
        $this->valueInit          = null;
        break;
      default:
        $objectname               = ( isset( $this->timezonetype )) ?
                                 strtoupper( $this->timezonetype )  :  strtoupper( $this->objName );
        $this->componentStart1    = 'BEGIN:';
        $this->componentStart2    = null;
        $this->componentEnd1      = 'END:';
        $this->componentEnd2      = $this->nl;
        $this->elementStart1      = null;
        $this->elementStart2      = null;
        $this->elementEnd1        = null;
        $this->elementEnd2        = $this->nl;
        $this->intAttrDelimiter   = '<!-- -->';
        $this->attributeDelimiter = ';';
        $this->valueInit          = ':';
        break;
    }
    return $objectname;
  }
function _createFormat() {
    $objectname                   = null;
    switch( $this->format ) {
      case 'xcal':
        $objectname               = ( isset( $this->timezonetype )) ?
                                 strtolower( $this->timezonetype )  :  strtolower( $this->objName );
        $this->componentStart1    = $this->elementStart1 = '<';
        $this->componentStart2    = $this->elementStart2 = '>';
        $this->componentEnd1      = $this->elementEnd1   = '</';
        $this->componentEnd2      = $this->elementEnd2   = '>'.$this->nl;
        $this->intAttrDelimiter   = '<!-- -->';
        $this->attributeDelimiter = $this->nl;
        $this->valueInit          = null;
        break;
      default:
        $objectname               = ( isset( $this->timezonetype )) ?
                                 strtoupper( $this->timezonetype )  :  strtoupper( $this->objName );
        $this->componentStart1    = 'BEGIN:';
        $this->componentStart2    = null;
        $this->componentEnd1      = 'END:';
        $this->componentEnd2      = $this->nl;
        $this->elementStart1      = null;
        $this->elementStart2      = null;
        $this->elementEnd1        = null;
        $this->elementEnd2        = $this->nl;
        $this->intAttrDelimiter   = '<!-- -->';
        $this->attributeDelimiter = ';';
        $this->valueInit          = ':';
        break;
    }
    return $objectname;
  }
function _createFormat ( ) { $ objectname = null ; switch ( $ this -> format ) { case 'xcal' : $ objectname = ( isset ( $ this -> timezonetype ) ) ? strtolower ( $ this -> timezonetype ) : strtolower ( $ this -> objName ) ; $ this -> componentStart1 = $ this -> elementStart1 = '<' ; $ this -> componentStart2 = $ this -> elementStart2 = '>' ; $ this -> componentEnd1 = $ this -> elementEnd1 = '</' ; $ this -> componentEnd2 = $ this -> elementEnd2 = '>' . $ this -> nl ; $ this -> intAttrDelimiter = '<!-- -->' ; $ this -> attributeDelimiter = $ this -> nl ; $ this -> valueInit = null ; break ; default : $ objectname = ( isset ( $ this -> timezonetype ) ) ? strtoupper ( $ this -> timezonetype ) : strtoupper ( $ this -> objName ) ; $ this -> componentStart1 = 'BEGIN:' ; $ this -> componentStart2 = null ; $ this -> componentEnd1 = 'END:' ; $ this -> componentEnd2 = $ this -> nl ; $ this -> elementStart1 = null ; $ this -> elementStart2 = null ; $ this -> elementEnd1 = null ; $ this -> elementEnd2 = $ this -> nl ; $ this -> intAttrDelimiter = '<!-- -->' ; $ this -> attributeDelimiter = ';' ; $ this -> valueInit = ':' ; break ; } return $ objectname ; }
create element format parts

@author Kjell-Inge Gustafsson <ical@kigkonsult.se>
@since 2.0.6 - 2006-06-20
@return string
create element format parts