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

Public Member Functions

 __construct (PHPExcel_Worksheet $parent=null, $columnIndex='A')
 Create a new column. More...
 
 __destruct ()
 Destructor. More...
 
 getColumnIndex ()
 Get column index. More...
 
 getCellIterator ($startRow=1, $endRow=null)
 Get cell iterator. More...
 

Private Attributes

 $_parent
 
 $_columnIndex
 

Detailed Description

Definition at line 38 of file Column.php.

Constructor & Destructor Documentation

◆ __construct()

PHPExcel_Worksheet_Column::__construct ( PHPExcel_Worksheet  $parent = null,
  $columnIndex = 'A' 
)

Create a new column.

Parameters
PHPExcel_Worksheet$parent
string$columnIndex

Definition at line 60 of file Column.php.

60  {
61  // Set parent and column index
62  $this->_parent = $parent;
63  $this->_columnIndex = $columnIndex;
64  }

◆ __destruct()

PHPExcel_Worksheet_Column::__destruct ( )

Destructor.

Definition at line 69 of file Column.php.

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

Member Function Documentation

◆ getCellIterator()

PHPExcel_Worksheet_Column::getCellIterator (   $startRow = 1,
  $endRow = null 
)

Get cell iterator.

Parameters
integer$startRowThe row number at which to start iterating
integer$endRowOptionally, the row number at which to stop iterating
Returns
PHPExcel_Worksheet_CellIterator

Definition at line 89 of file Column.php.

89  {
90  return new PHPExcel_Worksheet_ColumnCellIterator($this->_parent, $this->_columnIndex, $startRow, $endRow);
91  }

◆ getColumnIndex()

PHPExcel_Worksheet_Column::getColumnIndex ( )

Get column index.

Returns
int

Definition at line 78 of file Column.php.

References $_columnIndex.

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

Field Documentation

◆ $_columnIndex

PHPExcel_Worksheet_Column::$_columnIndex
private

Definition at line 52 of file Column.php.

Referenced by getColumnIndex().

◆ $_parent

PHPExcel_Worksheet_Column::$_parent
private

Definition at line 45 of file Column.php.


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