Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function getDataSet(\Magento\Framework\Search\Request\BucketInterface $bucket, array $dimensions, \Magento\Framework\DB\Ddl\Table $entityIdsTable)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getDataSet');
     if (!$pluginInfo) {
         return parent::getDataSet($bucket, $dimensions, $entityIdsTable);
     } else {
         return $this->___callPlugins('getDataSet', func_get_args(), $pluginInfo);
     }
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function execute(\Magento\Framework\DB\Select $select)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'execute');
     if (!$pluginInfo) {
         return parent::execute($select);
     } else {
         return $this->___callPlugins('execute', func_get_args(), $pluginInfo);
     }
 }