public function getColumn($p_iterator = null) { if (!isset($p_iterator)) { $p_iterator = $this->defaultIterator(); } if ($this->m_columns == 0 || $p_iterator->count() == 0) { return 0; } return 1 + $p_iterator->key() % $this->m_columns; }