Overview

Namespaces

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

Classes

  • BaseParser
  • CSVParser
  • HTMLParser
  • JSONParser
  • TSVParser
  • XLSXParser
  • XMLParser

Interfaces

  • IParser
  • Overview
  • Namespace
  • Class
  • Tree

Class BaseParser

SimpleExcel class for parsing HTML table

SimpleExcel\Parser\BaseParser implements SimpleExcel\Parser\IParser

Direct known subclasses

SimpleExcel\Parser\CSVParser, SimpleExcel\Parser\HTMLParser, SimpleExcel\Parser\JSONParser, SimpleExcel\Parser\XLSXParser, SimpleExcel\Parser\XMLParser

Indirect known subclasses

SimpleExcel\Parser\TSVParser
Abstract
Namespace: SimpleExcel\Parser
Package: SimpleExcel
Author: Faisalman
Located at Parser/BaseParser.php
Methods summary
public
# __construct( SimpleExcel\Spreadsheet\Workbook & $workbook )

Parameters

$workbook
SimpleExcel\Spreadsheet\Workbook
reference to workbook
protected boolean
# checkFile( string $file_path )

Check whether file exists, valid, and readable

Check whether file exists, valid, and readable

Parameters

$file_path
string
$file_path Path to file

Returns

boolean

Throws

Exception
If file being loaded doesn't exist
Exception
If file extension doesn't match
Exception
If error reading the file
Methods inherited from SimpleExcel\Parser\IParser
loadFile(), loadString()
Properties summary
protected SimpleExcel\Spreadsheet\Workbook $workbook
#

Holds the workbook instance

Holds the workbook instance

protected string $file_extension ''
#

Defines valid file extension

Defines valid file extension

API documentation generated by ApiGen 2.8.0