class PHPExcel_Worksheet_Row in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Row.php \PHPExcel_Worksheet_Row
PHPExcel_Worksheet_Row
Represents a row in PHPExcel_Worksheet, used by PHPExcel_Worksheet_RowIterator
@category PHPExcel @package PHPExcel_Worksheet @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
Hierarchy
- class \PHPExcel_Worksheet_Row
Expanded class hierarchy of PHPExcel_Worksheet_Row
4 string references to 'PHPExcel_Worksheet_Row'
- RowIteratorTest::testIteratorFullRange in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ RowIteratorTest.php - RowIteratorTest::testIteratorStartEndRange in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ RowIteratorTest.php - WorksheetRowTest::testInstantiateRowDefault in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ WorksheetRowTest.php - WorksheetRowTest::testInstantiateRowSpecified in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ WorksheetRowTest.php
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ Row.php, line 38
View source
class PHPExcel_Worksheet_Row {
/**
* PHPExcel_Worksheet
*
* @var PHPExcel_Worksheet
*/
private $_parent;
/**
* Row index
*
* @var int
*/
private $_rowIndex = 0;
/**
* Create a new row
*
* @param PHPExcel_Worksheet $parent
* @param int $rowIndex
*/
public function __construct(PHPExcel_Worksheet $parent = null, $rowIndex = 1) {
// Set parent and row index
$this->_parent = $parent;
$this->_rowIndex = $rowIndex;
}
/**
* Destructor
*/
public function __destruct() {
unset($this->_parent);
}
/**
* Get row index
*
* @return int
*/
public function getRowIndex() {
return $this->_rowIndex;
}
/**
* Get cell iterator
*
* @param string $startColumn The column address at which to start iterating
* @param string $endColumn Optionally, the column address at which to stop iterating
* @return PHPExcel_Worksheet_CellIterator
*/
public function getCellIterator($startColumn = 'A', $endColumn = null) {
return new PHPExcel_Worksheet_RowCellIterator($this->_parent, $this->_rowIndex, $startColumn, $endColumn);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PHPExcel_Worksheet_Row:: |
private | property | * PHPExcel_Worksheet * * | |
PHPExcel_Worksheet_Row:: |
private | property | * Row index * * | |
PHPExcel_Worksheet_Row:: |
public | function | * Get cell iterator * * | |
PHPExcel_Worksheet_Row:: |
public | function | * Get row index * * | |
PHPExcel_Worksheet_Row:: |
public | function | * Create a new row * * | |
PHPExcel_Worksheet_Row:: |
public | function | * Destructor |