updateTotals() public method

Called before each formatRow() call.
public updateTotals ( )
示例#1
0
文件: Basic.php 项目: respond/atk4
 function updateTotals()
 {
     parent::updateTotals();
     foreach ($this->current_row as $key => $val) {
         if (!empty($this->totals_title_field) and $key == $this->totals_title_field) {
             $this->totals[$key] = $this->totals_title;
         }
     }
 }