data('types'); $selectedTypes = $selectedTypes==''? array("announcement"):$selectedTypes; $max = $widget->data('notification-number'); $max = $max =="" ? 5 : $max ; $maxlength = $widget->data('notification-length'); $maxlength = $maxlength =="" ? 150 : $maxlength ; ?>