public function rowRender($template)
    {
        foreach ($this->current_row as $key => $val) {
            if (isset($this->current_row_html[$key])) {
                continue;
            }

            if ($val instanceof DateTime) {
                $val = $val->format($this->app->getConfig('locale/datetime', 'Y-m-d H:i:s'));
            }

            $template->trySet($key, $val);
        }

        $template->setHTML($this->current_row_html);
        $template->trySet('id', $this->current_id);
        $o = $template->render();
        foreach (array_keys($this->current_row) + array_keys($this->current_row_html) as $k) {
            $template->tryDel($k);
        }

        return $o;
    }
public function rowRender($template)
    {
        foreach ($this->current_row as $key => $val) {
            if (isset($this->current_row_html[$key])) {
                continue;
            }

            if ($val instanceof DateTime) {
                $val = $val->format($this->app->getConfig('locale/datetime', 'Y-m-d H:i:s'));
            }

            $template->trySet($key, $val);
        }

        $template->setHTML($this->current_row_html);
        $template->trySet('id', $this->current_id);
        $o = $template->render();
        foreach (array_keys($this->current_row) + array_keys($this->current_row_html) as $k) {
            $template->tryDel($k);
        }

        return $o;
    }
public function rowRender ( $ template ) { foreach ( $ this -> current_row as $ key => $ val ) { if ( isset ( $ this -> current_row_html [ $ key ] ) ) { continue ; } if ( $ val instanceof DateTime ) { $ val = $ val -> format ( $ this -> app -> getConfig ( 'locale/datetime' , 'Y-m-d H:i:s' ) ) ; } $ template -> trySet ( $ key , $ val ) ; } $ template -> setHTML ( $ this -> current_row_html ) ; $ template -> trySet ( 'id' , $ this -> current_id ) ; $ o = $ template -> render ( ) ; foreach ( array_keys ( $ this -> current_row ) + array_keys ( $ this -> current_row_html ) as $ k ) { $ template -> tryDel ( $ k ) ; } return $ o ; }
Renders single row.

If you use for formatting then interact with template->set() directly
prior to calling parent

@param Template $template template to use for row rendering

@return string HTML of rendered template
Renders single row .