/** * main service function. * @param type $idArrGroup */ function execute($idArr, $halfNum1, $halfNum2) { $tmp1 = getMgsPureCegWithHalfNum($idArr, $halfNum1); $tmp2 = getMgsPureCegWithHalfNum($idArr, $halfNum2); $statics = getStaticsForHalfCmpFull($tmp1, $tmp2); return $statics; }
/** * main service function. * @param type $idArrGroup */ function execute($idArr1, $idArr2, $num) { $tmp = getCompareResultWithCustomNum($idArr1, $idArr2, $num); $statics = getStaticsForHalfCmpFull($tmp); print_r($statics); }