PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.15
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.15
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
fluentform / vendor / openspout / openspout / src / Reader / ODS / Sheet.php

Sheet.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.15, at vendor/openspout/openspout/src/Reader/ODS/Sheet.php

86 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace OpenSpout\Reader\ODS;
4
5 use OpenSpout\Reader\SheetInterface;
6
7 /**
8 * Represents a sheet within a ODS file.
9 */
10 class Sheet implements SheetInterface
11 {
12 /** @var \OpenSpout\Reader\ODS\RowIterator To iterate over sheet's rows */
13 protected $rowIterator;
14
15 /** @var int ID of the sheet */
16 protected $id;
17
18 /** @var int Index of the sheet, based on order in the workbook (zero-based) */
19 protected $index;
20
21 /** @var string Name of the sheet */
22 protected $name;
23
24 /** @var bool Whether the sheet was the active one */
25 protected $isActive;
26
27 /** @var bool Whether the sheet is visible */
28 protected $isVisible;
29
30 /**
31 * @param RowIterator $rowIterator The corresponding row iterator
32 * @param int $sheetIndex Index of the sheet, based on order in the workbook (zero-based)
33 * @param string $sheetName Name of the sheet
34 * @param bool $isSheetActive Whether the sheet was defined as active
35 * @param bool $isSheetVisible Whether the sheet is visible
36 */
37 public function __construct($rowIterator, $sheetIndex, $sheetName, $isSheetActive, $isSheetVisible)
38 {
39 $this->rowIterator = $rowIterator;
40 $this->index = $sheetIndex;
41 $this->name = $sheetName;
42 $this->isActive = $isSheetActive;
43 $this->isVisible = $isSheetVisible;
44 }
45
46 /**
47 * @return \OpenSpout\Reader\ODS\RowIterator
48 */
49 public function getRowIterator()
50 {
51 return $this->rowIterator;
52 }
53
54 /**
55 * @return int Index of the sheet, based on order in the workbook (zero-based)
56 */
57 public function getIndex()
58 {
59 return $this->index;
60 }
61
62 /**
63 * @return string Name of the sheet
64 */
65 public function getName()
66 {
67 return $this->name;
68 }
69
70 /**
71 * @return bool Whether the sheet was defined as active
72 */
73 public function isActive()
74 {
75 return $this->isActive;
76 }
77
78 /**
79 * @return bool Whether the sheet is visible
80 */
81 public function isVisible()
82 {
83 return $this->isVisible;
84 }
85 }
86