original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Renders single row .