1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- class PHPExcel_Worksheet_Column
- {
-
- private $parent;
-
- private $columnIndex;
-
- public function __construct(PHPExcel_Worksheet $parent = null, $columnIndex = 'A')
- {
-
- $this->parent = $parent;
- $this->columnIndex = $columnIndex;
- }
-
- public function __destruct()
- {
- unset($this->parent);
- }
-
- public function getColumnIndex()
- {
- return $this->columnIndex;
- }
-
- public function getCellIterator($startRow = 1, $endRow = null)
- {
- return new PHPExcel_Worksheet_ColumnCellIterator($this->parent, $this->columnIndex, $startRow, $endRow);
- }
- }
|