ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Row.php
Go to the documentation of this file.
1 <?php
39 {
45  private $_parent;
46 
52  private $_rowIndex = 0;
53 
60  public function __construct(PHPExcel_Worksheet $parent = null, $rowIndex = 1) {
61  // Set parent and row index
62  $this->_parent = $parent;
63  $this->_rowIndex = $rowIndex;
64  }
65 
69  public function __destruct() {
70  unset($this->_parent);
71  }
72 
78  public function getRowIndex() {
79  return $this->_rowIndex;
80  }
81 
89  public function getCellIterator($startColumn = 'A', $endColumn = null) {
90  return new PHPExcel_Worksheet_RowCellIterator($this->_parent, $this->_rowIndex, $startColumn, $endColumn);
91  }
92 }
getCellIterator($startColumn='A', $endColumn=null)
Get cell iterator.
Definition: Row.php:89
__construct(PHPExcel_Worksheet $parent=null, $rowIndex=1)
Create a new row.
Definition: Row.php:60
getRowIndex()
Get row index.
Definition: Row.php:78
__destruct()
Destructor.
Definition: Row.php:69