protected function __construct($settings)
 {
     $this->settings = $settings;
     $this->initialize_hooks();
     if (is_admin()) {
         require_once CLEF_PATH . "/includes/lib/ajax-settings/ajax-settings.php";
         $this->ajax_settings = AjaxSettings::start(array("options_name" => CLEF_OPTIONS_NAME, "initialize" => false, "base_url" => CLEF_URL . "includes/lib/ajax-settings/", "formSelector" => "#clef-form"));
     }
 }
 protected function __construct($settings)
 {
     $this->settings = $settings;
     if (is_network_admin()) {
         $this->initialize_hooks();
         require_once CLEF_PATH . "/includes/lib/ajax-settings/ajax-settings.php";
         $this->ajax_settings = AjaxSettings::start();
     }
     global $clef_ajax;
     $clef_ajax->add_action(self::MULTISITE_SETTINGS_ACTION, array($this, 'ajax_multisite_options'), array('capability' => 'manage_network_options'));
 }