/** * A private method that can be inherited and used by children classes to * calculate the total sum of all data rows, and store it in the * {@link $this->aTotal} array. * * Also sets {@link $this->showTotals} to true, if required. * * @access private * @param array $aRows An array of rows of statistics to summarise. */ function _summariseTotals(&$aRows) { parent::_summariseTotals($aRows); $this->_summarizeStats($this->aTotal); }