public getRowIndex ( ) : integer | ||
return | integer | the zero-based index of the row |
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());
}