Exemplo n.º 1
0
/**
 * main service function.
 * @param type $idArrGroup
 */
function execute($idArr1, $idArr2, $num)
{
    $tmp = getCmpResultWithHalfNum($idArr1, $idArr2, $num);
    $statics = getCompareStatics($tmp);
    print_r($statics);
}
/**
 * main service function.
 * @param type $idArrGroup
 */
function execute($idArr1, $idArr2, $num)
{
    $tmp = getCmpResultWithHalfNum($idArr1, $idArr2, $num);
    $statics = getStaticsForCmpHalfNumWithRatio($tmp);
    return $statics;
}