Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($modelCustomerAccounts as $modelCustomerAccount){
- $modelCustomer = Mage::getModel($customerModelClass);
- $customers[] = $modelCustomer->load($modelCustomerAccount->getCustomerId());
- public function createObjectOnTheFly($modelName,$model)
- {
- $newObject = Mage::getModel($modelName . "/$model");
- return $newObject;
- }
- public function __construct(
- MagentoBackendBlockTemplateContext $context,
- MagentoCatalogModelCategoryFactory $categoryFactory,
- array $data = []
- )
- {
- $this->_categoryFactory = $categoryFactory;
- parent::__construct($context, $data);
- }
Add Comment
Please, Sign In to add comment