Пример #1
0
 /**
  * @return array
  */
 public function getTotals()
 {
     if (is_null($this->_totals)) {
         return parent::getTotals();
     }
     return $this->_totals;
 }
Пример #2
0
 /**
  * @return array
  */
 public function getTotals()
 {
     if ($this->_totals === null) {
         return parent::getTotals();
     }
     return $this->_totals;
 }