public function getContentType()
    {
        $mime = 'text/calendar; charset=utf-8';
        if (isset($this->objectData['component']) && $this->objectData['component']) {
            $mime .= '; component='.$this->objectData['component'];
        }

        return $mime;
    }
public function getContentType()
    {
        $mime = 'text/calendar; charset=utf-8';
        if (isset($this->objectData['component']) && $this->objectData['component']) {
            $mime .= '; component='.$this->objectData['component'];
        }

        return $mime;
    }
public function getContentType ( ) { $ mime = 'text/calendar; charset=utf-8' ; if ( isset ( $ this -> objectData [ 'component' ] ) && $ this -> objectData [ 'component' ] ) { $ mime .= '; component=' . $ this -> objectData [ 'component' ] ; } return $ mime ; }
Returns the mime content-type.

@return string
Returns the mime content - type .