/** * Creates a new instance of this class. * * @param int $id the ID of this experiment, as defined in AppEngine. * * @return NelioABHeatmapExperiment a new instance of this class. * * @since 2.0.10 */ public function __construct($id) { parent::__construct(); $this->id = $id; $this->post_id = false; $this->set_type(NelioABExperiment::HEATMAP_EXP); }
/** * It creates a new instance of Experiment Summary. * * @param int $id the ID of the experiment summary. * * @return NelioABExperimentSummary a new instance of this class. * * @since 4.1.0 */ public function __construct($id) { parent::__construct(); $this->id = $id; }