예제 #1
0
 /**
  * Add entity filter
  *
  * @return $this
  */
 public function _initSelect()
 {
     parent::_initSelect();
     $this->addEntityFilter($this->_coreRegistry->registry('entityId'));
     return $this;
 }
 public function testSetStoreFilter()
 {
     $this->collection->setStoreFilter(1);
 }