Exemplo n.º 1
0
 /**
  * Retrieve item colleciton
  *
  * @param \Magento\Catalog\Model\Category $category
  * @return \Magento\CatalogSearch\Model\Resource\Advanced\Collection
  */
 public function getCollection(\Magento\Catalog\Model\Category $category)
 {
     return $this->advancedCollectionFactory->create();
 }
Exemplo n.º 2
0
 /**
  * Retrieve advanced search result data collection
  *
  * @return \Magento\CatalogSearch\Model\Resource\Advanced\Collection
  */
 public function getAdvancedResultCollection()
 {
     return $this->_catalogSearchAdvancedCollectionFactory->create();
 }