public function createPlaintextReport($content)
    {
        $report = ' indexing report' . "\n\n";
        $report .= 'Finishing time: ' . date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] . ', H:i') . "\n\n";
        $report .= preg_replace('~[ ]{2,}~', '', strip_tags($content));
        $report .= "\n\n" . 'Indexing process ran ' . $this->calculateAndFormatIndexingTime();

        return $report;
    }
public function createPlaintextReport($content)
    {
        $report = ' indexing report' . "\n\n";
        $report .= 'Finishing time: ' . date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] . ', H:i') . "\n\n";
        $report .= preg_replace('~[ ]{2,}~', '', strip_tags($content));
        $report .= "\n\n" . 'Indexing process ran ' . $this->calculateAndFormatIndexingTime();

        return $report;
    }
public function createPlaintextReport ( $ content ) { $ report = ' indexing report' . "\n\n" ; $ report .= 'Finishing time: ' . date ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'SYS' ] [ 'ddmmyy' ] . ', H:i' ) . "\n\n" ; $ report .= preg_replace ( '~[ ]{2,}~' , '' , strip_tags ( $ content ) ) ; $ report .= "\n\n" . 'Indexing process ran ' . $ this -> calculateAndFormatIndexingTime ( ) ; return $ report ; }
create plaintext report from html content
@param string $content
@return string
create plaintext report from html content