persist_pdf Class Reference
PDF help class.
More...
Static Public Member Functions |
static | save ($data, $save_here) |
| Turns my_report.csv into my_report-2011-03-23.csv and, perhaps, my_report.pdf into my_report-2011-03-23-dsaf43.pdf.
|
Detailed Description
PDF help class.
- Todo:
- since this works for csv files as well, rename the class to something like persist_file
Member Function Documentation
static persist_pdf::save |
( |
$ |
data, |
|
|
$ |
save_here | |
|
) |
| | [static] |
Turns my_report.csv into my_report-2011-03-23.csv and, perhaps, my_report.pdf into my_report-2011-03-23-dsaf43.pdf.
- Parameters:
-
| $data | The file to write |
| $save_here | string |
- Exceptions:
-
| Exception | with reason of failure |
- Returns:
- string filename of new file
The documentation for this class was generated from the following file: