ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
PHPExcel_Worksheet_Row Class Reference
+ Collaboration diagram for PHPExcel_Worksheet_Row:

Public Member Functions

 __construct (PHPExcel_Worksheet $parent=null, $rowIndex=1)
 Create a new row. More...
 
 __destruct ()
 Destructor. More...
 
 getRowIndex ()
 Get row index. More...
 
 getCellIterator ($startColumn='A', $endColumn=null)
 Get cell iterator. More...
 

Private Attributes

 $_parent
 
 $_rowIndex = 0
 

Detailed Description

Definition at line 38 of file Row.php.

Constructor & Destructor Documentation

◆ __construct()

PHPExcel_Worksheet_Row::__construct ( PHPExcel_Worksheet  $parent = null,
  $rowIndex = 1 
)

Create a new row.

Parameters
PHPExcel_Worksheet$parent
int$rowIndex

Definition at line 60 of file Row.php.

60  {
61  // Set parent and row index
62  $this->_parent = $parent;
63  $this->_rowIndex = $rowIndex;
64  }

◆ __destruct()

PHPExcel_Worksheet_Row::__destruct ( )

Destructor.

Definition at line 69 of file Row.php.

69  {
70  unset($this->_parent);
71  }

Member Function Documentation

◆ getCellIterator()

PHPExcel_Worksheet_Row::getCellIterator (   $startColumn = 'A',
  $endColumn = null 
)

Get cell iterator.

Parameters
string$startColumnThe column address at which to start iterating
string$endColumnOptionally, the column address at which to stop iterating
Returns
PHPExcel_Worksheet_CellIterator

Definition at line 89 of file Row.php.

Referenced by PHPExcel_Writer_OpenDocument_Content\_writeCells().

89  {
90  return new PHPExcel_Worksheet_RowCellIterator($this->_parent, $this->_rowIndex, $startColumn, $endColumn);
91  }
+ Here is the caller graph for this function:

◆ getRowIndex()

PHPExcel_Worksheet_Row::getRowIndex ( )

Get row index.

Returns
int

Definition at line 78 of file Row.php.

References $_rowIndex.

78  {
79  return $this->_rowIndex;
80  }

Field Documentation

◆ $_parent

PHPExcel_Worksheet_Row::$_parent
private

Definition at line 45 of file Row.php.

◆ $_rowIndex

PHPExcel_Worksheet_Row::$_rowIndex = 0
private

Definition at line 52 of file Row.php.

Referenced by getRowIndex().


The documentation for this class was generated from the following file: