本文整理匯總了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) {