XLSXExporter Class Reference
Detailed Description
Class XLSXExporter
http://www.phpexcel.net
Constructor & Destructor Documentation
Member Function Documentation
compile |
( |
$ |
page_id = NULL |
) |
|
Build $this->output in prep for export/save
This is the main method to be extended for the different exporters
Reimplemented from Exporter.
export |
( |
$ |
page_id = NULL |
) |
|
Returns the PHPExcel object
- Returns:
- PHPExcel
Reimplemented from Exporter.
formatColumn |
( |
$ |
column, |
|
|
$ |
format_code | |
|
) |
| | |
Format a single column with a number format
You must do this after calling $this->compile!
- Parameters:
-
| string | $column |
| string | $format_code
- USD OR PHPExcel_Style_NumberFormat::setFormatCode()
|
- Returns:
- $this
Reimplemented from Exporter.
Return info about this class
- Parameters:
-
- Returns:
- array
- name string The human name of this exporter
- descripttion string A further description
- extension string The file extension used by this class
Reimplemented from Exporter.
Convert a column key into an excel column, e.g. A, AB, etc.
- Parameters:
-
- Returns:
- string
getProperty |
( |
$ |
property_name |
) |
|
Return the value of a single property or NULL
- Parameters:
-
| string | $property_name e.g. Creator |
- Returns:
- mixed
save |
( |
$ |
filename = '' , |
|
|
$ |
page_id = NULL | |
|
) |
| | |
Save as a file to the server
- Parameters:
-
| string | $filename The correct extension will be appended to this string |
| mixed | $page_id (Optional) Defaults to NULL. Set this to export a single page. |
Reimplemented from Exporter.
setProperties |
( |
$ |
properties |
) |
|
Set properties
- Parameters:
-
| array | $properties
- Title
- Creator
- LastModifiedBy
- Description
- Keywords
- Category
|
- Returns:
- $this
Set a title for the exported document
- Returns:
- $this
Reimplemented from Exporter.
Field Documentation
$extension = '.xlsx' [protected] |
$sheets = array() [protected] |
The documentation for this class was generated from the following file: