public function get_resetstepdata() { $data['next'] = $data['condition1'] = $data['condition2'] = $list = Step::arraySteps(); return json_encode($data); }