Пример #1
0
 public function load($printQuery = false, $logQuery = false)
 {
     if ($this->isLoaded()) {
         return $this;
     }
     parent::load($printQuery, $logQuery);
     $this->_setIsLoaded();
     $this->_prepareFromResourceData();
     return $this;
 }
Пример #2
0
 /**
  * Load collection
  *
  * @param boolean $printQuery
  * @param boolean $logQuery
  * @return Mage_Reports_Model_Grouped_Collection
  */
 public function load($printQuery = false, $logQuery = false)
 {
     if ($this->isLoaded()) {
         return $this;
     }
     parent::load($printQuery, $logQuery);
     $this->_setIsLoaded();
     if ($this->_columnGroupBy !== null) {
         $this->_mergeWithEmptyData();
         $this->_groupResourceData();
     }
     return $this;
 }