|
| __construct (array $cells, ?Style $style=null) |
| Row constructor.
|
|
| addCell (Cell $cell) |
|
| getCellAtIndex (int $cellIndex) |
|
| getCells () |
|
| getHeight () |
| Returns row height.
|
|
| getNumCells () |
|
| getStyle () |
|
| isEmpty () |
| Detect whether a row is considered empty.
|
|
| setCellAtIndex (Cell $cell, int $cellIndex) |
|
| setCells (array $cells) |
|
| setHeight (float $height) |
| Set row height.
|
|
| setStyle (?Style $style) |
|
| toArray () |
|
◆ __construct()
OpenSpout\Common\Entity\Row::__construct |
( |
array | $cells, |
|
|
?Style | $style = null ) |
Row constructor.
- Parameters
-
◆ fromValues()
static OpenSpout\Common\Entity\Row::fromValues |
( |
array | $cellValues = [], |
|
|
?Style | $rowStyle = null ) |
|
static |
- Parameters
-
list<null|bool|DateInterval|DateTimeInterface|float|int|string> | $cellValues |
◆ getCells()
OpenSpout\Common\Entity\Row::getCells |
( |
| ) |
|
◆ isEmpty()
OpenSpout\Common\Entity\Row::isEmpty |
( |
| ) |
|
Detect whether a row is considered empty.
An empty row has all of its cells empty.
◆ setCells()
OpenSpout\Common\Entity\Row::setCells |
( |
array | $cells | ) |
|
◆ toArray()
OpenSpout\Common\Entity\Row::toArray |
( |
| ) |
|
- Return values
-
list<null|bool|DateInterval|DateTimeInterface|float|int|string> | The row values, as array |
The documentation for this class was generated from the following file:
- lib/openspout/src/Common/Entity/Row.php