当前位置: 首页>>代码示例>>PHP>>正文


PHP GetInputElementId函数代码示例

本文整理汇总了PHP中GetInputElementId函数的典型用法代码示例。如果您正苦于以下问题:PHP GetInputElementId函数的具体用法?PHP GetInputElementId怎么用?PHP GetInputElementId使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了GetInputElementId函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("jalan_id");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "jalan_id";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("jalan_id_label", "<label for=\"" . GetInputElementId("jalan_id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("jalan_id_label", true);
 }
 $xt->assign("jalan_id_fieldblock", true);
 $xt->assignbyref("jalan_id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("jalan_id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("jalan_id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_jalan_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("jalan_id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "jalan_id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_spt_reklame_search.php

示例2: array

 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("bulan_telat");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "bulan_telat";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("bulan_telat_label", "<label for=\"" . GetInputElementId("bulan_telat", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("bulan_telat_label", true);
 }
 $xt->assign("bulan_telat_fieldblock", true);
 $xt->assignbyref("bulan_telat_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("bulan_telat_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("bulan_telat_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_bulan_telat", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("bulan_telat");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "bulan_telat", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_spt_search.php

示例3: array

 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("PerUnit Price");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "PerUnit Price";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("PerUnit_Price_label", "<label for=\"" . GetInputElementId("PerUnit Price", $id) . "\">", "</label>");
 } else {
     $xt->assign("PerUnit_Price_label", true);
 }
 $xt->assign("PerUnit_Price_fieldblock", true);
 $xt->assignbyref("PerUnit_Price_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("PerUnit_Price_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("PerUnit_Price_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_PerUnit_Price", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("PerUnit Price");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "PerUnit Price", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Electricity_Rates_search.php

示例4: GetInputElementId

     $xt->assign("Location_fieldblock", true);
 } else {
     $xt->assign("Location_tabfieldblock", true);
 }
 $xt->assign("Location_label", true);
 if (isEnableSection508()) {
     $xt->assign_section("Location_label", "<label for=\"" . GetInputElementId("Location", $id) . "\">", "</label>");
 }
 if (!$pageObject->isAppearOnTabs("Customer Type")) {
     $xt->assign("Customer_Type_fieldblock", true);
 } else {
     $xt->assign("Customer_Type_tabfieldblock", true);
 }
 $xt->assign("Customer_Type_label", true);
 if (isEnableSection508()) {
     $xt->assign_section("Customer_Type_label", "<label for=\"" . GetInputElementId("Customer Type", $id) . "\">", "</label>");
 }
 $xt->assign("show_key1", htmlspecialchars(GetData($data, "ID", "")));
 //$xt->assign('editForm',true);
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 //Begin Next Prev button
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 if (!@$_SESSION[$strTableName . "_noNextPrev"] && $inlineedit == EDIT_SIMPLE) {
     $next = array();
     $prev = array();
     $pageObject->getNextPrevRecordKeys($data, "Edit", $next, $prev);
 }
 $nextlink = $prevlink = "";
 if (count($next)) {
     $xt->assign("next_button", true);
     $nextlink .= "editid1=" . htmlspecialchars(rawurlencode($next[1]));
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Customers_edit.php

示例5: GetInputElementId

        $xt->assign("create_uid_fieldblock", true);
    } else {
        $xt->assign("create_uid_tabfieldblock", true);
    }
    $xt->assign("create_uid_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("create_uid_label", "<label for=\"" . GetInputElementId("create_uid", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("keterangan")) {
        $xt->assign("keterangan_fieldblock", true);
    } else {
        $xt->assign("keterangan_tabfieldblock", true);
    }
    $xt->assign("keterangan_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("keterangan_label", "<label for=\"" . GetInputElementId("keterangan", $id, PAGE_ADD) . "\">", "</label>");
    }
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $pageObject->body["begin"] .= $includes;
        $xt->assign("backbutton_attrs", "id=\"backButton" . $id . "\"");
        $xt->assign("back_button", true);
    } else {
        $xt->assign("cancelbutton_attrs", "id=\"cancelButton" . $id . "\"");
        $xt->assign("cancel_button", true);
        $xt->assign("header", "");
    }
    $xt->assign("save_button", true);
}
$xt->assign("savebutton_attrs", "id=\"saveButton" . $id . "\"");
$xt->assign("message_block", true);
$xt->assign("message", $message);
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_daftar_hist_add.php

示例6: array

 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("tanggal");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "tanggal";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("tanggal_label", "<label for=\"" . GetInputElementId("tanggal", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("tanggal_label", true);
 }
 $xt->assign("tanggal_fieldblock", true);
 $xt->assignbyref("tanggal_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("tanggal_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("tanggal_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_tanggal", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("tanggal");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "tanggal", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:public_tmp_bank2_search.php

示例7: GetInputElementId

        $xt->assign("review_fieldblock", true);
    } else {
        $xt->assign("review_tabfieldblock", true);
    }
    $xt->assign("review_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("review_label", "<label for=\"" . GetInputElementId("review", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("manager")) {
        $xt->assign("manager_fieldblock", true);
    } else {
        $xt->assign("manager_tabfieldblock", true);
    }
    $xt->assign("manager_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("manager_label", "<label for=\"" . GetInputElementId("manager", $id, PAGE_ADD) . "\">", "</label>");
    }
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $pageObject->body["begin"] .= $includes;
        $xt->assign("backbutton_attrs", "id=\"backButton" . $id . "\"");
        $xt->assign("back_button", true);
    } else {
        $xt->assign("cancelbutton_attrs", "id=\"cancelButton" . $id . "\"");
        $xt->assign("cancel_button", true);
        $xt->assign("header", "");
    }
    $xt->assign("save_button", true);
}
$xt->assign("savebutton_attrs", "id=\"saveButton" . $id . "\"");
$xt->assign("message_block", true);
$xt->assign("message", $message);
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:app_app_status_add.php

示例8: array

 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("kartudtnm");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "kartudtnm";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("kartudtnm_label", "<label for=\"" . GetInputElementId("kartudtnm", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("kartudtnm_label", true);
 }
 $xt->assign("kartudtnm_fieldblock", true);
 $xt->assignbyref("kartudtnm_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("kartudtnm_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("kartudtnm_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_kartudtnm", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("kartudtnm");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "kartudtnm", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_report_search.php

示例9: GetInputElementId

        $xt->assign("reklame_kd_fieldblock", true);
    } else {
        $xt->assign("reklame_kd_tabfieldblock", true);
    }
    $xt->assign("reklame_kd_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("reklame_kd_label", "<label for=\"" . GetInputElementId("reklame_kd", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("restauran_kd")) {
        $xt->assign("restauran_kd_fieldblock", true);
    } else {
        $xt->assign("restauran_kd_tabfieldblock", true);
    }
    $xt->assign("restauran_kd_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("restauran_kd_label", "<label for=\"" . GetInputElementId("restauran_kd", $id, PAGE_ADD) . "\">", "</label>");
    }
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $pageObject->body["begin"] .= $includes;
        $xt->assign("backbutton_attrs", "id=\"backButton" . $id . "\"");
        $xt->assign("back_button", true);
    } else {
        $xt->assign("cancelbutton_attrs", "id=\"cancelButton" . $id . "\"");
        $xt->assign("cancel_button", true);
        $xt->assign("header", "");
    }
    $xt->assign("save_button", true);
}
$xt->assign("savebutton_attrs", "id=\"saveButton" . $id . "\"");
$xt->assign("message_block", true);
$xt->assign("message", $message);
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_pemda_add.php

示例10: array

 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("Currunt Readings");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "Currunt Readings";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("Currunt_Readings_label", "<label for=\"" . GetInputElementId("Currunt Readings", $id) . "\">", "</label>");
 } else {
     $xt->assign("Currunt_Readings_label", true);
 }
 $xt->assign("Currunt_Readings_fieldblock", true);
 $xt->assignbyref("Currunt_Readings_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("Currunt_Readings_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("Currunt_Readings_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_Currunt_Readings", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("Currunt Readings");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Currunt Readings", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Readings_search.php

示例11: GetInputElementId

     $xt->assign("create_uid_fieldblock", true);
 } else {
     $xt->assign("create_uid_tabfieldblock", true);
 }
 $xt->assign("create_uid_label", true);
 if (isEnableSection508()) {
     $xt->assign_section("create_uid_label", "<label for=\"" . GetInputElementId("create_uid", $id, PAGE_EDIT) . "\">", "</label>");
 }
 if (!$pageObject->isAppearOnTabs("update_uid")) {
     $xt->assign("update_uid_fieldblock", true);
 } else {
     $xt->assign("update_uid_tabfieldblock", true);
 }
 $xt->assign("update_uid_label", true);
 if (isEnableSection508()) {
     $xt->assign_section("update_uid_label", "<label for=\"" . GetInputElementId("update_uid", $id, PAGE_EDIT) . "\">", "</label>");
 }
 $xt->assign("show_key1", htmlspecialchars($pageObject->showDBValue("id", $data)));
 //$xt->assign('editForm',true);
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 //Begin Next Prev button
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 if (!@$_SESSION[$strTableName . "_noNextPrev"] && $inlineedit == EDIT_SIMPLE) {
     $next = array();
     $prev = array();
     $pageObject->getNextPrevRecordKeys($data, "Edit", $next, $prev);
 }
 $nextlink = $prevlink = "";
 if (count($next)) {
     $xt->assign("next_button", true);
     $nextlink .= "editid1=" . htmlspecialchars(rawurlencode($next[1 - 1]));
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_pegawai_edit.php

示例12: GetInputElementId

        $xt->assign("channel_id_fieldblock", true);
    } else {
        $xt->assign("channel_id_tabfieldblock", true);
    }
    $xt->assign("channel_id_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("channel_id_label", "<label for=\"" . GetInputElementId("channel_id", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("bank_ip")) {
        $xt->assign("bank_ip_fieldblock", true);
    } else {
        $xt->assign("bank_ip_tabfieldblock", true);
    }
    $xt->assign("bank_ip_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("bank_ip_label", "<label for=\"" . GetInputElementId("bank_ip", $id, PAGE_ADD) . "\">", "</label>");
    }
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $pageObject->body["begin"] .= $includes;
        $xt->assign("backbutton_attrs", "id=\"backButton" . $id . "\"");
        $xt->assign("back_button", true);
    } else {
        $xt->assign("cancelbutton_attrs", "id=\"cancelButton" . $id . "\"");
        $xt->assign("cancel_button", true);
        $xt->assign("header", "");
    }
    $xt->assign("save_button", true);
}
$xt->assign("savebutton_attrs", "id=\"saveButton" . $id . "\"");
$xt->assign("message_block", true);
$xt->assign("message", $message);
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:public_pad_payment_add.php

示例13: array

 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("Module ID");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "Module ID";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("Module_ID_label", "<label for=\"" . GetInputElementId("Module ID", $id) . "\">", "</label>");
 } else {
     $xt->assign("Module_ID_label", true);
 }
 $xt->assign("Module_ID_fieldblock", true);
 $xt->assignbyref("Module_ID_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("Module_ID_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("Module_ID_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_Module_ID", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("Module ID");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Module ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Customer_Module_Assignment_search.php

示例14: array

 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("Status");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "Status";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("Status_label", "<label for=\"" . GetInputElementId("Status", $id) . "\">", "</label>");
 } else {
     $xt->assign("Status_label", true);
 }
 $xt->assign("Status_fieldblock", true);
 $xt->assignbyref("Status_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("Status_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("Status_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_Status", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("Status");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Status", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:LU_Module_Status_search.php

示例15: GetInputElementId

        $xt->assign("tgl_fieldblock", true);
    } else {
        $xt->assign("tgl_tabfieldblock", true);
    }
    $xt->assign("tgl_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("tgl_label", "<label for=\"" . GetInputElementId("tgl", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("iso_request")) {
        $xt->assign("iso_request_fieldblock", true);
    } else {
        $xt->assign("iso_request_tabfieldblock", true);
    }
    $xt->assign("iso_request_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("iso_request_label", "<label for=\"" . GetInputElementId("iso_request", $id, PAGE_ADD) . "\">", "</label>");
    }
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $pageObject->body["begin"] .= $includes;
        $xt->assign("backbutton_attrs", "id=\"backButton" . $id . "\"");
        $xt->assign("back_button", true);
    } else {
        $xt->assign("cancelbutton_attrs", "id=\"cancelButton" . $id . "\"");
        $xt->assign("cancel_button", true);
        $xt->assign("header", "");
    }
    $xt->assign("save_button", true);
}
$xt->assign("savebutton_attrs", "id=\"saveButton" . $id . "\"");
$xt->assign("message_block", true);
$xt->assign("message", $message);
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:public_pad_reversal_add.php


注:本文中的GetInputElementId函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。