/** * Retrives Advanced Store Switcher * @return string */ public function getStoreSwitcherHtml() { $block = $this->getLayout()->createBlock('advancedreports/store_switcher', 'advancedreports.store.switcher'); if ($block) { return $block->toHtml(); } return parent::getStoreSwitcherHtml(); }