Prado\Web\UI\ActiveControls\TActiveTableCell::getRow PHP Метод

getRow() публичный Метод

Returns the parent {@link TTableRow} control by looping through all parents until a {@link TTableRow} is found. Raises a {@link TConfigurationException} if no row control is found.
public getRow ( ) : TTableRow
Результат Prado\Web\UI\WebControls\TTableRow the parent row control
    public function getRow()
    {
        if ($this->_row === null) {
            $row = $this->getParent();
            while (!$row instanceof TTableRow && $row !== null) {
                $row = $row->getParent();
            }
            if ($row instanceof TTableRow) {
                $this->_row = $row;
            } else {
                throw new TConfigurationException('tactivetablecell_control_outoftable', get_class($this), $this->getUniqueID());
            }
        }
        return $this->_row;
    }