private function renderDataTablesRow(DataTablesWrapperInterface $dtWrapper, $wrapper) {

        $innerHTML = "";

        $count = count($dtWrapper->getColumns());
        for ($i = 0; $i < $count; ++$i) {

            $dtColumn = array_values($dtWrapper->getColumns())[$i];

            $th = $this->renderDataTablesColumn($dtColumn, ("thead" === $wrapper && 0 === $i));
            if ("" === $th) {
                continue;
            }

            $innerHTML .= $th . "\n";
        }

        $tr = static::coreHTMLElement("tr", "\n" . $innerHTML);

        return static::coreHTMLElement($wrapper, "\n" . $tr . "\n");
    }
private function renderDataTablesRow(DataTablesWrapperInterface $dtWrapper, $wrapper) {

        $innerHTML = "";

        $count = count($dtWrapper->getColumns());
        for ($i = 0; $i < $count; ++$i) {

            $dtColumn = array_values($dtWrapper->getColumns())[$i];

            $th = $this->renderDataTablesColumn($dtColumn, ("thead" === $wrapper && 0 === $i));
            if ("" === $th) {
                continue;
            }

            $innerHTML .= $th . "\n";
        }

        $tr = static::coreHTMLElement("tr", "\n" . $innerHTML);

        return static::coreHTMLElement($wrapper, "\n" . $tr . "\n");
    }
private function renderDataTablesRow ( DataTablesWrapperInterface $ dtWrapper , $ wrapper ) { $ innerHTML = "" ; $ count = count ( $ dtWrapper -> getColumns ( ) ) ; for ( $ i = 0 ; $ i < $ count ; ++ $ i ) { $ dtColumn = array_values ( $ dtWrapper -> getColumns ( ) ) [ $ i ] ; $ th = $ this -> renderDataTablesColumn ( $ dtColumn , ( "thead" === $ wrapper && 0 === $ i ) ) ; if ( "" === $ th ) { continue ; } $ innerHTML .= $ th . "\n" ; } $ tr = static :: coreHTMLElement ( "tr" , "\n" . $ innerHTML ) ; return static :: coreHTMLElement ( $ wrapper , "\n" . $ tr . "\n" ) ; }
Render a row.

@param DataTablesWrapperInterface $dtWrapper The wrapper.
@param string $wrapper The wrapper (thead or tfoot)
@return string Returns the rendered row.
Render a row .