Example #1
0
 /**
  * Load collection
  *
  * @param bool $printQuery
  * @param bool $logQuery
  * @return $this
  */
 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;
 }