I have a third party extension on Magento 1.9 which has the phtml file to display list of favorite brands for the logged in user. It the phtml file of this extension, it does the following to get the list:
$_helper = $this->helper('personalize'); $FavBrands= $this->getBrands(); $count = count($FavBrands);
I want to be able to call the above in other places around the store. I see from above code, it uses ($this). What does it mean, and what change should I do from above to be able to call it getBrands() in for instance (product page).
Note that I am not looking to immediatly insert the block of the third party extension into other pages. I want to reuse their functions to do other things.