CsvView\View\CsvView::_renderRow PHP Method

_renderRow() protected method

Aggregates the rows into a single csv
protected _renderRow ( array | null $row = null ) : null | string
$row array | null Row data
return null | string CSV with all data to date
    protected function _renderRow($row = null)
    {
        static $csv = '';
        if ($this->_resetStaticVariables) {
            $csv = '';
            $this->_resetStaticVariables = false;
            return null;
        }
        $csv .= (string) $this->_generateRow($row);
        return $csv;
    }