public function get_slider_results($slider_id) { self::$results = $this->select_slider_question_results($slider_id); if (self::$results !== false) { self::$results = $this->set_slider_responses(); } return self::$results; }
public function __construct($slider_id, $ab_test_id) { if ($ab_test_id === false) { return false; } parent::__construct($slider_id); $this->get_ab_test_slider_results($ab_test_id); }