public function view_sureAdd() { $DetectStandardAct = new DetectStandardAct(); $test = $DetectStandardAct->act_sureAdd(); header('location:index.php?mod=nowSampleStandard&act=sampleStandardList'); exit; }
function act_getStandardInfo() { $id = $_POST['id']; $list = SampleStandardModel::getNowStandardList("sName", "where sampleTypeId='{$id}' group by sName"); if ($list) { return $list; } else { self::$errCode = CategoryModel::$errCode; self::$errMsg = CategoryModel::$errMsg; return false; } }