Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. $_helper = $this->helper('personalize');
  2. $FavBrands= $this->getBrands();
  3. $count = count($FavBrands);
  4.  
  5. echo get_class($this);
  6.  
  7. $newobj = new YOUR_CLASS_PATH(); //YOUR CLASS PATH FROM STEP-2
  8. $FavBrands= $newobj ->getBrands();
  9. $count = count($FavBrands);
  10.  
  11. $FavBrandsblock= $this->getLayout()->createBlock('block_keyfrom_confignxml/blockfilepath');
  12.  
  13. $FavBrands= $FavBrandsblock->getBrands();
  14. $count = count($FavBrands);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement