コード例 #1
0
ファイル: modules.php プロジェクト: window98lsq/autoweb
    unset($extra[$catName]);
}
//////////Baseline//////////
if ($isBaselined) {
    foreach ($mapping_bk as $comp => $cat) {
        if ($extra[$cat]) {
            $moduleArr[categories][$cat][basetable] = createBasetable(0, $extra[$cat]);
            $catextra += $extra[$cat];
            $extra[$cat] = 0;
        }
        $moduleArr[categories][$cat][modules][$comp][time] = '0 second';
        $moduleArr[categories][$cat][modules][$comp][stats] = createTPFtable2(0, 0, $version, $build, $comp, $cat, "yes", "platform.php", $regr);
        $moduleArr[categories][$cat][modules][$comp][chart] = createBarChartForReg(1, 1, 0, $build, $version, $comp, $cat, 0, $regr, $gren, $rap);
        //$moduleArr[categories][$cat][modules][$comp][comment] ='Yet to Run in this build';
        $moduleArr[categories][$cat][modules][$comp][basetable] = createBasetable(0, $baseValue[$comp]);
        $commentData = getModuleComments($comp, $cat, $build, $version, $regr);
        $ownerData = getModuleOwners($modName);
        $moduleArr[categories][$cat][modules][$comp][comment] = $commentData[comment];
        $moduleArr[categories][$cat][modules][$comp][bugLink] = createModuleBugField($commentData[bugs]);
        $moduleArr[categories][$cat][modules][$comp][bugs] = $commentData[bugs];
        $moduleArr[categories][$cat][modules][$comp][bugsOld] = $commentData[bugsOld];
        $moduleArr[categories][$cat][modules][$comp][bugLinkOld] = createModuleBugField($commentData[bugsOld]);
    }
    $moduleArr[basetable] = createBasetable($pass + $fail, $baseVal + $catextra);
}
//////4. till here///////////////////
$moduleArr[stats] = createTPFtable2($pass, $fail, $version, $build, "", "", "", "platform.php");
$moduleArr[chart] = createBarChartForReg($pass + $fail, $pass, $fail, $build, $version, $modName, $catName, 0);
$moduleArr[time] = Sec2Time($time);
///////////////////////////////////////////////////
###########################################################################################################################
コード例 #2
0
ファイル: CRMEntity.php プロジェクト: honj51/taobaocrm
 function get_modcomments($id)
 {
     return getModuleComments($id);
 }