src/Net/API/Premailer.php
public function getPlainText(){
		if( !$this->response )
			throw new RuntimeException( 'No conversion startet' );
		$cacheKey	= 'premailer_'.$this->response->requestId.'.text';
		if( $this->cache && $this->cache->has( $cacheKey ) )
			return $this->cache->get( $cacheKey );
		$text	= Net_Reader::readUrl( $this->response->documents->txt );
		$this->cache && $this->cache->set( $cacheKey, $text );
		return $text;
	}
public function getPlainText(){
		if( !$this->response )
			throw new RuntimeException( 'No conversion startet' );
		$cacheKey	= 'premailer_'.$this->response->requestId.'.text';
		if( $this->cache && $this->cache->has( $cacheKey ) )
			return $this->cache->get( $cacheKey );
		$text	= Net_Reader::readUrl( $this->response->documents->txt );
		$this->cache && $this->cache->set( $cacheKey, $text );
		return $text;
	}
public function getPlainText ( ) { if ( ! $ this -> response ) throw new RuntimeException ( 'No conversion startet' ) ; $ cacheKey = 'premailer_' . $ this -> response -> requestId . '.text' ; if ( $ this -> cache && $ this -> cache -> has ( $ cacheKey ) ) return $ this -> cache -> get ( $ cacheKey ) ; $ text = Net_Reader :: readUrl ( $ this -> response -> documents -> txt ) ; $ this -> cache && $ this -> cache -> set ( $ cacheKey , $ text ) ; return $ text ; }
Returns converted plain text.
@access		public
@return		string		Converted HTML
Returns converted plain text .