本文整理汇总了PHP中RunnerPage::fillSetCntrlMaps方法的典型用法代码示例。如果您正苦于以下问题:PHP RunnerPage::fillSetCntrlMaps方法的具体用法?PHP RunnerPage::fillSetCntrlMaps怎么用?PHP RunnerPage::fillSetCntrlMaps使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RunnerPage
的用法示例。
在下文中一共展示了RunnerPage::fillSetCntrlMaps方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: RunnerPage
$params["needSearchClauseObj"] = false;
$pageObject = new RunnerPage($params);
// add button events if exist
$pageObject->addButtonHandlers();
$pageObject->body["begin"] .= "<script type=\"text/javascript\" src=\"include/loadfirst.js\"></script>\r\n";
$pageObject->body["begin"] .= "<script>\r\n";
$pageObject->body["begin"] .= "function importMore(id)\r\n";
$pageObject->body["begin"] .= "{\r\n";
$pageObject->body["begin"] .= "\tif(\$('#importDebugInfoTable'+id).css('display')=='none')\r\n";
$pageObject->body["begin"] .= "\t\t\$('#importDebugInfoTable'+id).show();\r\n";
$pageObject->body["begin"] .= "\telse\r\n";
$pageObject->body["begin"] .= "\t\t\$('#importDebugInfoTable'+id).hide();\r\n";
$pageObject->body["begin"] .= "}\r\n";
$pageObject->body["begin"] .= "</script>\r\n";
$pageObject->body["begin"] .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
$pageObject->fillSetCntrlMaps();
$pageObject->body['end'] .= '<script>';
$pageObject->body['end'] .= "window.controlsMap = " . my_json_encode($pageObject->controlsHTMLMap) . ";";
$pageObject->body['end'] .= "window.settings = " . my_json_encode($pageObject->jsSettings) . ";";
$pageObject->body['end'] .= '</script>';
$pageObject->body["end"] .= "<script language=\"JavaScript\" src=\"include/runnerJS/RunnerAll.js\"></script>\r\n";
$pageObject->addCommonJs();
$pageObject->body["end"] .= "<script>" . $pageObject->PrepareJS() . "</script>";
$xt->assignbyref("body", $pageObject->body);
$xt->assign("importfile_attrs", "id=\"file_ImportFileName" . $pageObject->id . "\" name=\"file_ImportFileName" . $pageObject->id . "\"");
$xt->assign("backtolist_attrs", "id=\"backButton" . $pageObject->id . "\"");
$xt->assign("importlink_attrs", "id=\"saveButton" . $pageObject->id . "\"");
$xt->assign("error_message", $error_message);
$xt->display("Readings_import.htm");
?>
示例2: RunnerPage
$_params["id"] = $options['flyId'];
$options["xt"]->assign_function($options['shortTableName']."_chart","xt_showchart", $_params);
$chartPageObject = new RunnerPage($options);
$chartPageObject->init();
$options["xt"]->assign("chart_block",true);
$options["xt"]->assign("asearch_link",true);
$options["xt"]->assign("search_records_block",true);
$options["xt"]->assign("exportpdflink_attrs","onclick='chart.saveAsPDF();'");
$options["xt"]->assign("searchform_showall",true);
$options["xt"]->assign("showallbutton_attrs","onclick=\"window.location.href='".GetTableLink($options['shortTableName'], "chart", "a=showall")."';\"");
$options["xt"]->assign("advsearchlink_attrs", "id=\"advButton".$id."\"");
$options["xt"]->assign("style_block",true);
$options["xt"]->assign("shiftstyle_block", true);
$chartPageObject->addControlsJSAndCSS();
$chartPageObject->fillSetCntrlMaps();
$chartPageObject->body["begin"] = '';
$chartPageObject->body["end"] = '';
$options["xt"]->assign("body",$chartPageObject->body);
$options["xt"]->assign("style_block",true);
$options["xt"]->assign("guestlink_block", false);
$options["xt"]->assign("container_toplinks", false);
$options["xt"]->assign("container_search", false);
$options["xt"]->assign("container_left", false);
$mkr = 1;
foreach($mKeys[$strTableName] as $mk)
{
$options['masterKeysReq'][$mkr++] = $data[$mk];
}