Author: Inpsyde GmbH, toscho
Inheritance: implements Mlp_Network_Site_Settings_Properties_Interface
 /**
  * Constructor. Set up the properties.
  *
  * @param Inpsyde_Property_List_Interface $plugin_data Plugin data.
  *
  * @wp-hook plugins_loaded
  */
 public function __construct(Inpsyde_Property_List_Interface $plugin_data)
 {
     $this->plugin_data = $plugin_data;
     $this->tab_page_data = new Mlp_Network_Site_Settings_Tab_Data();
     $this->page_properties = new Mlp_Network_Site_Settings_Properties($plugin_data);
     new Mlp_Network_Site_Settings($this->page_properties, $this);
     add_action('admin_post_' . $this->tab_page_data->get_action_name(), array($this, 'update_settings'));
     add_action('admin_print_styles-' . $this->page_properties->get_param_value(), array($this, 'enqueue_stylesheet'));
 }
 /**
  * Constructor. Set up the properties.
  *
  * @wp-hook plugins_loaded
  *
  * @param Inpsyde_Property_List_Interface $plugin_data Plugin data.
  * @param Setting                         $setting     Setting object.
  * @param Nonce                           $nonce       Nonce object.
  */
 public function __construct(Inpsyde_Property_List_Interface $plugin_data, Setting $setting, Nonce $nonce)
 {
     $this->plugin_data = $plugin_data;
     $this->setting = $setting;
     $this->nonce = $nonce;
     add_action('admin_post_' . $setting->action(), [$this, 'update_settings']);
     $this->page_properties = new Mlp_Network_Site_Settings_Properties();
     add_action('admin_print_styles-' . $this->page_properties->get_param_value(), [$this, 'enqueue_stylesheet']);
     new Mlp_Network_Site_Settings($this->page_properties, $this);
 }
 /**
  * Constructor.
  *
  * @param Mlp_Network_Site_Settings_Properties $config
  * @param Mlp_Updatable                        $watcher
  */
 public function __construct(Mlp_Network_Site_Settings_Properties $config, Mlp_Updatable $watcher)
 {
     global $pagenow;
     $this->config = $config;
     $this->marker = "<!--" . $config->get_param_value() . "-->";
     $this->targets[] = $config->get_param_value();
     $this->watcher = $watcher;
     $this->set_pagenow();
     if (!empty($pagenow) && in_array($pagenow, $this->targets)) {
         add_action('network_admin_notices', array($this, 'start_buffer'));
     }
 }