|
| static | createCell ($cellValue, Style $cellStyle=null) |
| |
| static | createCSVWriter () |
| | This creates an instance of a CSV writer.
|
| |
| static | createODSWriter () |
| | This creates an instance of a ODS writer.
|
| |
| static | createRow (array $cells=[], Style $rowStyle=null) |
| |
| static | createRowFromArray (array $cellValues=[], Style $rowStyle=null) |
| |
| static | createWriter ($writerType) |
| | This creates an instance of the appropriate writer, given the type of the file to be written.
|
| |
| static | createWriterFromFile (string $path) |
| | This creates an instance of the appropriate writer, given the extension of the file to be written.
|
| |
| static | createXLSXWriter () |
| | This creates an instance of a XLSX writer.
|
| |
◆ createCell()
| static Box\Spout\Writer\Common\Creator\WriterEntityFactory::createCell |
( |
| $cellValue, |
|
|
Style | $cellStyle = null ) |
|
static |
- Parameters
-
| mixed | $cellValue | |
| Style | null | $cellStyle | |
- Return values
-
◆ createCSVWriter()
| static Box\Spout\Writer\Common\Creator\WriterEntityFactory::createCSVWriter |
( |
| ) |
|
|
static |
This creates an instance of a CSV writer.
- Return values
-
◆ createODSWriter()
| static Box\Spout\Writer\Common\Creator\WriterEntityFactory::createODSWriter |
( |
| ) |
|
|
static |
This creates an instance of a ODS writer.
- Return values
-
◆ createRow()
| static Box\Spout\Writer\Common\Creator\WriterEntityFactory::createRow |
( |
array | $cells = [], |
|
|
Style | $rowStyle = null ) |
|
static |
- Parameters
-
| Cell[] | $cells | |
| Style | null | $rowStyle | |
- Return values
-
◆ createRowFromArray()
| static Box\Spout\Writer\Common\Creator\WriterEntityFactory::createRowFromArray |
( |
array | $cellValues = [], |
|
|
Style | $rowStyle = null ) |
|
static |
- Parameters
-
| array | $cellValues | |
| Style | null | $rowStyle | |
- Return values
-
◆ createWriter()
| static Box\Spout\Writer\Common\Creator\WriterEntityFactory::createWriter |
( |
| $writerType | ) |
|
|
static |
This creates an instance of the appropriate writer, given the type of the file to be written.
- Parameters
-
| string | $writerType | Type of the writer to instantiate |
- Exceptions
-
- Return values
-
◆ createWriterFromFile()
| static Box\Spout\Writer\Common\Creator\WriterEntityFactory::createWriterFromFile |
( |
string | $path | ) |
|
|
static |
This creates an instance of the appropriate writer, given the extension of the file to be written.
- Parameters
-
| string | $path | The path to the spreadsheet file. Supported extensions are .csv, .ods and .xlsx |
- Exceptions
-
- Return values
-
◆ createXLSXWriter()
| static Box\Spout\Writer\Common\Creator\WriterEntityFactory::createXLSXWriter |
( |
| ) |
|
|
static |
This creates an instance of a XLSX writer.
- Return values
-
The documentation for this class was generated from the following file:
- lib/spout/src/Spout/Writer/Common/Creator/WriterEntityFactory.php