public function __construct($title)
 {
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
     $this->set_form_name('nelioab_edit_ab_title_exp_form');
     $this->original_id = -1;
     // Prepare tabs
     $this->add_tab('info', __('General', 'nelioab'), array($this, 'print_basic_info'));
     $this->add_tab('alts', __('Alternatives', 'nelioab'), array($this, 'print_alternatives'));
 }
 public function __construct($title)
 {
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
     $this->set_form_name('nelioab_edit_ab_css_exp_form');
     $this->alternatives = array();
     $this->is_global = true;
     // Prepare tabs
     $this->add_tab('info', __('General', 'nelioab'), array($this, 'print_basic_info'));
     $this->add_tab('alts', __('Alternatives', 'nelioab'), array($this, 'print_alternatives'));
     $this->add_tab('goals', __('Goals', 'nelioab'), array($this, 'print_goals'));
 }
 public function __construct($title, $alt_type = NelioABExperiment::CPT_ALT_EXP)
 {
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
     $this->set_form_name('nelioab_edit_ab_cpt_exp_form');
     $this->alt_type = $alt_type;
     $this->original_id = -1;
     $this->post_type_name = false;
     require_once NELIOAB_UTILS_DIR . '/wp-helper.php';
     $this->post_types = NelioABWpHelper::get_custom_post_types();
     // Prepare tabs
     $this->add_tab('info', __('General', 'nelioab'), array($this, 'print_basic_info'));
     $this->add_tab('alts', __('Alternatives', 'nelioab'), array($this, 'print_alternatives'));
     $this->add_tab('goals', __('Goals', 'nelioab'), array($this, 'print_goals'));
 }
 public function __construct($title, $alt_type = NelioABExperiment::PAGE_ALT_EXP)
 {
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
     $this->set_form_name('nelioab_edit_ab_post_exp_form');
     $this->alt_type = $alt_type;
     if (NelioABExperiment::PAGE_ALT_EXP == $this->alt_type) {
         $this->tests_a_page = true;
     } else {
         $this->tests_a_page = false;
     }
     $this->original_id = -1;
     // Prepare tabs
     $this->add_tab('info', __('General', 'nelioab'), array($this, 'print_basic_info'));
     $this->add_tab('alts', __('Alternatives', 'nelioab'), array($this, 'print_alternatives'));
     $this->add_tab('goals', __('Goals', 'nelioab'), array($this, 'print_goals'));
 }
 public function __construct($title = false)
 {
     if (!$title) {
         $title = __('Edit Theme Experiment', 'nelioab');
     }
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
     $this->set_form_name('nelioab_edit_ab_theme_exp_form');
     $this->is_global = true;
     $this->current_theme = array();
     $this->themes = array();
     $this->selected_themes = array();
     $this->appspot_ids = array();
     // Prepare tabs
     $this->add_tab('info', __('General', 'nelioab'), array($this, 'print_basic_info'));
     $this->add_tab('theme-alts', __('Alternatives', 'nelioab'), array($this, 'print_alternatives'));
     $this->add_tab('goals', __('Goals', 'nelioab'), array($this, 'print_goals'));
 }
 public function do_render()
 {
     parent::do_render();
 }