ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 
87  public function getCellIterator() {
88  return new PHPExcel_Worksheet_CellIterator($this->_parent, $this->_rowIndex);
89  }
90 }