private function modifyPostImp($request, $response, $bloodSugarStep)
 {
     /*{{{*/
     $type = $request->type;
     $typeArr = explode(",", $type);
     $params = $request->vars;
     $arrs = $request->arrs;
     $params = BloodSugarStep::convertFieldArrToStr($typeArr, $params);
     $params += $arrs;
     $bloodSugarStepId = BloodSugarStepClient::getInstance()->modify($bloodSugarStep->id, $params);
     $bloodSugarStep = DAL::get()->find("BloodSugarStep", $request->bloodSugarStepId);
     $content = $bloodSugarStep->getContentByType();
     $healthDiaryId = HealthDiaryClient::getInstance()->updateDiary($bloodSugarStep->healthDiary->id, $content, array());
     return $bloodSugarStep;
 }
        <th>血糖生成指数备注:</th>
        <td>
        <textarea rows="2" cols="60" name="vars[3][i_remark]" class="table_3"/></textarea>
        </td>
        </tr>

</table>
<br />
<table id="table_4">
        <tr>
        <th title="运动好处:消耗热情,降低稳定血糖,增加胰岛素的敏感性,减轻胰岛负担
                   运动时间:每周4-5天以上的活动,建议餐后90分钟(血糖的高峰期)后散步30分钟
        ">管理:</th>
        <td>
        <?php 
echo HtmlControl::getCheckboxCtrImp(BloodSugarStep::getS_ManagementDefines(), 'vars[4][s_management][]', '', '&nbsp;&nbsp;&nbsp;', "table_4");
?>
        </td>
        </tr>

        <tr>
        <th>方案:</th>
        <td>
        <textarea rows="2" cols="60" name="vars[4][s_plan]" class="table_4"/></textarea>
        </td>
        </tr>

        <tr>
        <th>运动备注:</th>
        <td>
        <textarea rows="2" cols="60" name="vars[4][s_remark]" class="table_4"/></textarea>
示例#3
0
</table>
<br />
<?php 
}
if (in_array(4, $typeArr)) {
    ?>
<table id="table_4">
       
        <tr>
        <th>管理:</th>
        <td>
        <?php 
    $s_managementStr = $bloodSugarStep->s_management;
    $s_managementArr = explode(",", $s_managementStr);
    echo BloodSugarStep::getCheckboxCtrImp(BloodSugarStep::getS_ManagementDefines(), 'vars[4][s_management][]', $s_managementArr, '&nbsp;&nbsp;&nbsp;', "table_4");
    ?>
        </td>
        </tr>

        <tr>
        <th>方案:</th>
        <td>
        <textarea rows="2" cols="60" name="vars[4][s_plan]" class="table_4" ><?php 
    echo isset($bloodSugarStep->s_plan) ? $bloodSugarStep->s_plan : "";
    ?>
</textarea>
        </td>
        </tr>

        <tr>