public function isCachable($name) { $response = parent::getResponse('block', $name); if (isset($response['meta']['allow_caching']) && $response['meta']['allow_caching'] == 1 && isset($response['meta']['cache_lifetime']) && $response['meta']['cache_lifetime'] > 0) { return true; } return false; }
/** * Singleton * * @param string $name * @return object */ public static function getInstance($name = null) { return parent::getInstance('MageBridgeModelBridgeMessages'); }
public static function getDebugData() { return MageBridgeModelBridgeSegment::getInstance()->getResponseData('debug'); }