Esempio n. 1
0
 public function _afterMap($rows)
 {
     if (!$this->_is_variants) {
         parent::_afterMap($rows);
     }
     return $this;
 }
Esempio n. 2
0
 /**
  * @param $rows
  * @return $this
  */
 public function _afterMap($rows)
 {
     // Free some memory
     foreach ($this->_assocs as $assoc) {
         if ($assoc->getEntityid()) {
             $this->getTools()->clearNestedObject($assoc);
         }
     }
     $this->flushCacheAssociatedPrice();
     if (!$this->_is_variants && $rows) {
         return parent::_afterMap($rows);
     }
     return $rows;
 }