public static function validateSettings($settings, $componentClass)
 {
     parent::validateSettings($settings, $componentClass);
     if (isset($settings['maxLevel'])) {
         if (is_numeric($settings['level'])) {
             if ($settings['level'] < $settings['maxLevel']) {
                 throw new Kwf_Exception("maxLevel setting doesn't exist anymore, you need to manually create a submenu");
             }
         } else {
             if ($settings['maxLevel'] > 1) {
                 throw new Kwf_Exception("maxLevel setting doesn't exist anymore, you need to manually create a submenu");
             }
         }
         throw new Kwf_Exception("maxLevel setting doesn't exist anymore, please simply remove");
     }
 }