class PHPExcel_Worksheet_Column in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Column.php \PHPExcel_Worksheet_Column
PHPExcel_Worksheet_Column
Represents a column in PHPExcel_Worksheet, used by PHPExcel_Worksheet_ColumnIterator
@category PHPExcel @package PHPExcel_Worksheet @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
Hierarchy
- class \PHPExcel_Worksheet_Column
Expanded class hierarchy of PHPExcel_Worksheet_Column
4 string references to 'PHPExcel_Worksheet_Column'
- ColumnIteratorTest::testIteratorFullRange in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ ColumnIteratorTest.php - ColumnIteratorTest::testIteratorStartEndRange in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ ColumnIteratorTest.php - WorksheetColumnTest::testInstantiateColumnDefault in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ WorksheetColumnTest.php - WorksheetColumnTest::testInstantiateColumnSpecified in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ WorksheetColumnTest.php
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ Column.php, line 38
View source
class PHPExcel_Worksheet_Column {
/**
* PHPExcel_Worksheet
*
* @var PHPExcel_Worksheet
*/
private $_parent;
/**
* Column index
*
* @var string
*/
private $_columnIndex;
/**
* Create a new column
*
* @param PHPExcel_Worksheet $parent
* @param string $columnIndex
*/
public function __construct(PHPExcel_Worksheet $parent = null, $columnIndex = 'A') {
// Set parent and column index
$this->_parent = $parent;
$this->_columnIndex = $columnIndex;
}
/**
* Destructor
*/
public function __destruct() {
unset($this->_parent);
}
/**
* Get column index
*
* @return int
*/
public function getColumnIndex() {
return $this->_columnIndex;
}
/**
* Get cell iterator
*
* @param integer $startRow The row number at which to start iterating
* @param integer $endRow Optionally, the row number at which to stop iterating
* @return PHPExcel_Worksheet_CellIterator
*/
public function getCellIterator($startRow = 1, $endRow = null) {
return new PHPExcel_Worksheet_ColumnCellIterator($this->_parent, $this->_columnIndex, $startRow, $endRow);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PHPExcel_Worksheet_Column:: |
private | property | * Column index * * | |
PHPExcel_Worksheet_Column:: |
private | property | * PHPExcel_Worksheet * * | |
PHPExcel_Worksheet_Column:: |
public | function | * Get cell iterator * * | |
PHPExcel_Worksheet_Column:: |
public | function | * Get column index * * | |
PHPExcel_Worksheet_Column:: |
public | function | * Create a new column * * | |
PHPExcel_Worksheet_Column:: |
public | function | * Destructor |