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