Ejemplo n.º 1
0
 /**
  *
  * @param Mage_Core_Model_Abstract $object
  */
 protected function _beforeLoad(Mage_Core_Model_Abstract $object)
 {
     $this->getSelect()->join(array('cps' => 'customer_entity'), $this->getMainTable() . '.customer_id = cps.entity_id');
     $this->getSelect()->join(array('cpsv' => 'customer_entity_varchar'), 'cps.entity_id = cpsv.entity_id AND cpsv.attribute_id = 1');
     // Append the associated orders for this transfer
     return parent::_beforeLoad($object);
 }
Ejemplo n.º 2
0
 protected function _beforeLoad(Mage_Core_Model_Abstract $object)
 {
     return parent::_beforeLoad($object);
 }