/** * Redeclare before load method for adding event * * @return $this */ protected function _beforeLoad() { parent::_beforeLoad(); $this->_eventManager->dispatch('core_collection_abstract_load_before', array('collection' => $this)); if ($this->_eventPrefix && $this->_eventObject) { $this->_eventManager->dispatch($this->_eventPrefix . '_load_before', array($this->_eventObject => $this)); } return $this; }