*/ class Mage_XmlConnect_HomebannersController extends Mage_XmlConnect_Controller_Action { /** * Default action * * @return null */ public function indexAction() { try { $this->loadLayout(false); $this->renderLayout(); } catch (Mage_Core_Exception $e) { $this->_message($e->getMessage(), self::MESSAGE_STATUS_ERROR); } catch (Exception $e) { $this->_message($this->__('Unable to load banners.'), self::MESSAGE_STATUS_ERROR); Mage::logException($e); } } }