本文整理汇总了PHP中LangUtil::getMeasureRemarks方法的典型用法代码示例。如果您正苦于以下问题:PHP LangUtil::getMeasureRemarks方法的具体用法?PHP LangUtil::getMeasureRemarks怎么用?PHP LangUtil::getMeasureRemarks使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LangUtil
的用法示例。
在下文中一共展示了LangUtil::getMeasureRemarks方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: PageElems
#
include "../includes/db_lib.php";
include "../includes/page_elems.php";
$page_elems = new PageElems();
$lab_config_id = $_REQUEST['lid'];
$test_type_id = $_REQUEST['ttype'];
include $LOCAL_PATH . "langdata_" . $lab_config_id . "/remarks.php";
$saved_id = $_SESSION['lab_config_id'];
$lab_config = LabConfig::getById($lab_config_id);
$test_type = TestType::getById($test_type_id);
# Fetch all measures for this test
$measure_list = $test_type->getMeasures();
# For each measure, fetch existing remarks data from remarks.XML
$measure_remarks = array();
foreach ($measure_list as $measure) {
$measure_remarks[$measure->measureId] = LangUtil::getMeasureRemarks($lab_config->id, $measure->measureId);
}
# Generate form
?>
<div class='pretty_box' style='width:auto;'>
<form name='remarks_form' id='remarks_form' action='remarks_update.php' method='post'>
<input type='hidden' name='lid' value='<?php
echo $lab_config_id;
?>
'></input>
<input type='hidden' name='ttype' value='<?php
echo $test_type_id;
?>
'></input>
<?php
foreach ($measure_list as $measure) {