Prado\Web\UI\WebControls\TDataGrid::getCellText PHP Method

getCellText() private method

private getCellText ( $cell )
    private function getCellText($cell)
    {
        if (($data = $cell->getText()) === '' && $cell->getHasControls()) {
            $controls = $cell->getControls();
            foreach ($controls as $control) {
                if ($control instanceof \Prado\IDataRenderer) {
                    return $control->getData();
                }
            }
        }
        return $data;
    }