*/ class Mage_Sales_Model_Resource_Order_Address_Collection extends Mage_Sales_Model_Resource_Order_Collection_Abstract { /** * Event prefix * * @var string */ protected $_eventPrefix = 'sales_order_address_collection'; /** * Event object * * @var string */ protected $_eventObject = 'order_address_collection'; /** * Model initialization * */ protected function _construct() { $this->_init('sales/order_address'); } /** * Redeclare after load method for dispatch event * * @return Mage_Sales_Model_Resource_Order_Address_Collection */ protected function _afterLoad() { parent::_afterLoad(); Mage::dispatchEvent($this->_eventPrefix . '_load_after', array( $this->_eventObject => $this )); return $this; } }