*/ abstract class Fishpig_Bolt_Model_Observer_Abstract extends Varien_Object { /** * Determine whether Bolt is loaded * * @return bool */ public function isBoltDefined() { return defined('FISHPIG_BOLT'); } /** * Refresh the config file * * @param $observer = null * @return array|false */ public function refreshConfig($observer = null) { return Mage::helper('bolt')->refreshConfig(); } /** * Retrieve the Magento layout model * * @return Mage_Core_Model_Layout */ public function getLayout() { return Mage::getSingleton('core/layout'); } }