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