/** * 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 */ public function rowRender($template) { foreach ($this->current_row as $key => $val) { if (isset($this->current_row_html[$key])) { continue; } $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; }