示例#1
0
 /**
  * Redeclare parent method for store filters applying
  *
  * @return $this
  */
 protected function _beforeLoad()
 {
     parent::_beforeLoad();
     $this->_applyStoresFilterToSelect();
     return $this;
 }
示例#2
0
 /**
  * Join linked products when specified link model
  *
  * @return $this
  */
 protected function _beforeLoad()
 {
     if ($this->getLinkModel()) {
         $this->_joinLinks();
     }
     return parent::_beforeLoad();
 }