Overview

Namespaces

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

Classes

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

Interfaces

  • IParser
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2:  
 3: namespace SimpleExcel\Parser;
 4: 
 5: /**
 6:  * SimpleExcel class for parsing Microsoft Excel XLSX Spreadsheet
 7:  *  
 8:  * @author  Faisalman
 9:  * @package SimpleExcel
10:  */
11: class XLSXParser extends BaseParser
12: {
13:     /**
14:     * Defines valid file extension
15:     * 
16:     * @access   protected
17:     * @var      string
18:     */
19:     protected $file_extension = 'xlsx';
20:     
21:     /**
22:     * Load an XLSX file to be parsed
23:     * 
24:     * @param    string  $file_path  Path to XLSX file
25:     * @param    array   $options    Options
26:     */
27:     public function loadFile($file_path, $options) { }
28:     
29:     /**
30:     * Load the string to be parsed
31:     * 
32:     * @param    string  $str        String with XLSX format
33:     * @param    array   $options    Options
34:     */
35:     public function loadString($str, $options) { }
36: }
37: 
API documentation generated by ApiGen 2.8.0