79 $this->_subject = $subject;
88 unset($this->_subject);
99 $this->_startColumn = $startColumnIndex;
100 $this->
seek($startColumn);
112 $endColumn = ($endColumn) ? $endColumn : $this->_subject->getHighestColumn();
127 if (($column < $this->_startColumn) || (
$column > $this->_endColumn)) {
128 throw new PHPExcel_Exception(
"Column $column is out of range ({$this->_startColumn} - {$this->_endColumn})");
173 if ($this->_position <= $this->_startColumn) {
175 "Column is already at the beginning of range (" .
An exception for terminatinating execution or to throw for unit testing.
static stringFromColumnIndex($pColumnIndex=0)
String from columnindex.
static columnIndexFromString($pString='A')
Column index from string.
next()
Set the iterator to its next value.
current()
Return the current column in this worksheet.
valid()
Indicate if more columns exist in the worksheet range of columns that we're iterating.
resetStart($startColumn='A')
resetEnd($endColumn=null)
rewind()
Rewind the iterator to the starting column.
__construct(PHPExcel_Worksheet $subject=null, $startColumn='A', $endColumn=null)
Create a new column iterator.
key()
Return the current iterator key.