/** * Set Store scope for collection * * @param mixed $store * @return $this */ public function setStore($store) { parent::setStore($store); if ($this->isEnabledFlat()) { $this->getEntity()->setStoreId($this->getStoreId()); } return $this; }