function formatRow() { parent::formatRow(); $this->odd_even = $this->odd_even == 'odd' ? 'even' : 'odd'; $this->current_row['odd_even'] = $this->odd_even; }
function formatRow() { $r = array(); foreach ($this->current_row as $k => $v) { $r[$k] = array("k" => $v); } $this->l->v = ""; $this->l->setStaticSource($r)->render(); $this->current_row["cells"] = $this->l->get(); parent::formatRow(); }
/** * Format lister row. */ public function formatRow() { parent::formatRow(); if (is_array($this->current_row) || $this->current_row instanceof ArrayAccess) { $this->odd_even = $this->odd_even == $this->odd_css_class ? $this->even_css_class : $this->odd_css_class; $this->current_row['odd_even'] = $this->odd_even; } }
/** * Format lister row * * @return void */ function formatRow() { parent::formatRow(); $this->odd_even = $this->odd_even == $this->odd_css_class ? $this->even_css_class : $this->odd_css_class; $this->current_row['odd_even'] = $this->odd_even; }