Exemple #1
0
 /**
  * Class constructor
  *
  * @param array $arguments
  */
 public function __construct(array $arguments = array())
 {
     parent::__construct($arguments);
     if (isset($arguments['entity_type'])) {
         $this->_entityType = $arguments['entity_type'];
     }
     if (isset($arguments['customer_attributes'])) {
         $this->_customerAttributes = $arguments['customer_attributes'];
     }
 }
Exemple #2
0
 /**
  * Class constructor
  *
  * @param Mage_Core_Model_Resource $resource
  * @param Mage_Core_Helper_Data $coreHelper
  * @param array $arguments
  */
 public function __construct(Mage_Core_Model_Resource $resource, Mage_Core_Helper_Data $coreHelper, array $arguments = array())
 {
     parent::__construct($resource, $coreHelper, $arguments);
     if (isset($arguments['entity_type'])) {
         $this->_entityType = $arguments['entity_type'];
     }
     if (isset($arguments['customer_attributes'])) {
         $this->_customerAttributes = $arguments['customer_attributes'];
     }
 }