daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Jun 19th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. foreach($modelCustomerAccounts as $modelCustomerAccount){
  2.             $modelCustomer = Mage::getModel($customerModelClass);
  3.             $customers[] = $modelCustomer->load($modelCustomerAccount->getCustomerId());
  4.    
  5. public function createObjectOnTheFly($modelName,$model)
  6.     {
  7.         $newObject = Mage::getModel($modelName . "/$model");
  8.         return $newObject;
  9.     }
  10.    
  11. public function __construct(
  12.         MagentoBackendBlockTemplateContext $context,        
  13.         MagentoCatalogModelCategoryFactory $categoryFactory,
  14.         array $data = []
  15.     )
  16.     {    
  17.         $this->_categoryFactory = $categoryFactory;
  18.         parent::__construct($context, $data);
  19.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top