public function __construct() { parent::__construct(); $this->setCountTotals(true); $this->setCountSubTotals(true); }