Ejemplo n.º 1
0
 /**
  * Join website and store names
  *
  * @return $this
  */
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->joinGroupAndStore();
     return $this;
 }
Ejemplo n.º 2
0
 /**
  * Get website collection with stores and store-views joined
  *
  * @return \Magento\Store\Model\Resource\Website\Collection
  */
 public function getCollection()
 {
     return $this->_websiteCollection->joinGroupAndStore();
 }