Overview

Namespaces

  • PHP
  • SimpleExcel
    • Enums
    • Parser
    • Spreadsheet
    • Writer

Classes

  • Cell
  • Workbook
  • Worksheet
  • Overview
  • Namespace
  • Class
  • Tree

Class Workbook

SimpleExcel class for constructing workbook

Namespace: SimpleExcel\Spreadsheet
Package: SimpleExcel
Author: Faisalman
Located at Spreadsheet/Workbook.php
Methods summary
public
# __construct( )
public SimpleExcel\Spreadsheet\Worksheet
# getWorksheet( integer $index )

Get specified worksheet by index

Get specified worksheet by index

Parameters

$index
integer
$index Worksheet index

Returns

SimpleExcel\Spreadsheet\Worksheet
public array
# getWorksheets( )

Get all worksheets

Get all worksheets

Returns

array
public
# insertWorksheet( SimpleExcel\Spreadsheet\Worksheet $worksheet )

Insert a new worksheet

Insert a new worksheet

Parameters

$worksheet
SimpleExcel\Spreadsheet\Worksheet
$worksheet Worksheet to be inserted
public
# removeWorksheet( integer $index )

Remove a worksheet from workbook

Remove a worksheet from workbook

Parameters

$index
integer
$index Worksheet index to be removed
Properties summary
protected array $worksheets
#

Array of worksheets

Array of worksheets

API documentation generated by ApiGen 2.8.0