PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
tablepress / libraries / vendor / PhpSpreadsheet / Reader / EmptyWorksheetInfo.php

EmptyWorksheetInfo.php in TablePress – Tables in WordPress made easy 3.4, at libraries/vendor/PhpSpreadsheet/Reader/EmptyWorksheetInfo.php

32 lines 822 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace TablePress\PhpOffice\PhpSpreadsheet\Reader;
4
5 /**
6 * Empty listWorksheetInfo and listWorksheetNames methods,
7 * facilitating migration from IReader to IReader2.
8 */
9 class EmptyWorksheetInfo
10 {
11 /**
12 * Return empty array as worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).
13 *
14 * @return array<int, array{worksheetName: string, lastColumnLetter: string, lastColumnIndex: int, totalRows: int, totalColumns: int, sheetState: string}>
15 */
16 public function listWorksheetInfo(string $filename): array
17 {
18 return [];
19 }
20
21 /**
22 * Return empty array as names of the worksheets from a file,
23 * possibly without parsing the whole file to a Spreadsheet object.
24 *
25 * @return string[]
26 */
27 public function listWorksheetNames(string $filename): array
28 {
29 return [];
30 }
31 }
32