Exemplo n.º 1
0
 public static function debug()
 {
     $prototype_loaded = MageBridgeTemplateHelper::hasPrototypeJs() ? 'Yes' : 'No';
     JError::raiseNotice('notice', JText::sprintf('View: %s', JRequest::getCmd('view')));
     JError::raiseNotice('notice', JText::sprintf('Page layout: %s', MageBridgeTemplateHelper::getPageLayout()));
     JError::raiseNotice('notice', JText::sprintf('Prototype JavaScript loaded: %s', $prototype_loaded));
 }