Esempio n. 1
0
 /**
  * Add custom options to product collection
  *
  * @return $this
  */
 protected function _afterLoadCollection()
 {
     $this->getCollection()->addOptionsToResult();
     return parent::_afterLoadCollection();
 }
Esempio n. 2
0
 /**
  * @return void
  */
 protected function _afterLoadCollection()
 {
     $this->getCollection()->walk('afterLoad');
     parent::_afterLoadCollection();
 }
Esempio n. 3
0
 /**
  * Save search results
  *
  * @return \Magento\Backend\Block\Widget\Grid
  */
 protected function _afterLoadCollection()
 {
     /** @var $actionPager \Magento\Review\Helper\Action\Pager */
     $actionPager = $this->_reviewActionPager;
     $actionPager->setStorageId('reviews');
     $actionPager->setItems($this->getCollection()->getResultingIds());
     return parent::_afterLoadCollection();
 }