public function getRowIndex() { foreach ($this->getTable()->getRows() as $key => $row) { if ($row == $this) { return $key; } } throw new TConfigurationException('tactivetablerow_control_notincollection', get_class($this), $this->getUniqueID()); }