Send_report_Model Class Reference
Model for sending out reports in different ways.
More...
Static Public Member Functions |
static | send ($data, $filename, $format, $recipient) |
Detailed Description
Model for sending out reports in different ways.
Member Function Documentation
static Send_report_Model::send |
( |
$ |
data, |
|
|
$ |
filename, |
|
|
$ |
format, |
|
|
$ |
recipient | |
|
) |
| | [static] |
- Parameters:
-
| $data | The actual data to send |
| $filename | The filename to use when sending this |
| $format | The filetype - 'pdf', 'csv' or 'html' |
| $recipient | one email or a string composed of comma separated strings |
- Exceptions:
-
| RuntimeException | if file is not readable |
- Returns:
- boolean
The documentation for this class was generated from the following file: