/** * Return if yes or no the widget given in param is supported. * * @param Widget $widget A Widget entity * * @return boolean * @access protected * @author Etienne de Longeaux <*****@*****.**> */ protected function isWidgetSupported(Widget $widget) { if (isset($GLOBALS['WIDGET'][strtoupper($widget->getPlugin())][strtolower($widget->getAction())])) { return true; } else { return false; } }