PHP Classes

My changes to PHPReport class

Recommend this page to a friend!

      PHP Report  >  PHP Report package blog  >  How to Create Your PH...  >  All threads  >  My changes to PHPReport class  >  (Un) Subscribe thread alerts  
Subject:My changes to PHPReport class
Summary:New features I have added: support multiple sheets;
Messages:2
Author:Larry Bradley
Date:2016-03-07 18:11:33
 

  1. My changes to PHPReport class   Reply   Report abuse  
Picture of Larry Bradley Larry Bradley - 2016-03-07 18:11:33
Hi. I am Larry Bradley in Ottawa Canada.

I have made a couple of changes to the PHPReport class.

First, it will now process ALL sheets in a template file, not just the first.

Second, I have added the ability to send the output (.xls,.xlsx,.pdf) to a file on the server, as well as output direct to the browser. Direct output can be a problem if you need to have other stuff on the page. With output to a file, you can put a DOWNLOAD button (or whatever) on your page. The user generates the report, then downloads it.

This does require that the server allows creation of files within your web directories.

If the author is interested, I can email him my version.

  2. Re: My changes to PHPReport class   Reply   Report abuse  
Picture of verni verni - 2016-03-31 17:46:06 - In reply to message 1 from Larry Bradley
Hi. Could you please make a pull request or open an issue on github https://github.com/vernes/PHPReport

Thanks