コード例 #1
0
 public function __construct($title = false)
 {
     if (!$title) {
         $title = __('This site is not active', 'nelioab');
     }
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
 }
コード例 #2
0
 public function __construct($title = false)
 {
     if (!$title) {
         $title = __('User Account Deactivated', 'nelioab');
     }
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
 }
コード例 #3
0
 public function __construct($title)
 {
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
     $this->add_title_action(__('Add New', 'nelioab'), '?page=nelioab-add-experiment');
     $this->current_filter = 'none';
     $this->current_status = false;
 }
コード例 #4
0
 public function __construct($title)
 {
     parent::__construct($title);
     $this->tabs = array();
     $this->set_icon('icon-nelioab');
     $this->alternatives = array();
     $this->goals = array();
     $this->basic_info = array('id' => -1, 'name' => '', 'description' => '', 'otherNames' => array());
     $this->is_global = false;
 }
コード例 #5
0
 public function __construct($title)
 {
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
     $this->exp = null;
     $this->goal = null;
     $this->results = null;
     require_once NELIOAB_UTILS_DIR . '/wp-helper.php';
     $this->colorscheme = NelioABWpHelper::get_current_colorscheme();
 }
コード例 #6
0
 public function __construct($title)
 {
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
     $this->add_title_action(__('New Experiment', 'nelioab'), '?page=nelioab-add-experiment');
     $this->experiments = array();
     $this->quota = array('regular' => 5000, 'monthly' => 5000, 'extra' => 0);
     $this->graphic_delay = 500;
     $this->rss = fetch_feed('https://nelioabtesting.com/feed/');
 }
コード例 #7
0
 public function __construct($title)
 {
     parent::__construct($title);
     $this->p_style = '';
     $this->email = '';
     $this->reg_num = '';
     $this->is_reg_num_valid = false;
     $this->tac = false;
     $this->sites = array();
     $this->max_sites = 1;
     $this->error_retrieving_registered_sites = false;
 }
コード例 #8
0
 public function __construct($title)
 {
     parent::__construct($title);
     $this->set_form_name('nelioab_edit_heatmap_exp_form');
     $this->other_names = array();
 }
コード例 #9
0
 public function __construct($msg)
 {
     parent::__construct(__('Something happened...', 'nelioab'));
     $this->msg = $msg;
 }
コード例 #10
0
 public function __construct($msg, $explanation = '')
 {
     parent::__construct(__('Information', 'nelioab'));
     $this->msg = $msg;
     $this->explanation = $explanation;
 }
コード例 #11
0
 public function __construct()
 {
     $title = __('Edit CSS', 'nelioab');
     parent::__construct($title);
 }
コード例 #12
0
 public function __construct($title)
 {
     parent::__construct($title);
     $this->set_icon('icon-nelioab');
 }