本文整理匯總了PHP中ImportMap::getSavedMappingsList方法的典型用法代碼示例。如果您正苦於以下問題:PHP ImportMap::getSavedMappingsList方法的具體用法?PHP ImportMap::getSavedMappingsList怎麽用?PHP ImportMap::getSavedMappingsList使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ImportMap
的用法示例。
在下文中一共展示了ImportMap::getSavedMappingsList方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: foreach
}
}
if (isset($thirdrow)) {
//Asha: Fix for ticket #4432
foreach ($thirdrow as $ind => $val) {
if (strlen($val) > 30) {
$thirdrow[$ind] = substr(to_html($val), 0, 30) . " ..........";
} else {
$thirdrow[$ind] = to_html($val);
}
}
}
}
$field_map = $outlook_contacts_field_map;
$mapping_file = new ImportMap();
$saved_map_lists = $mapping_file->getSavedMappingsList($_REQUEST['return_module']);
$map_list_combo = '<select class="small" name="source" id="saved_source" disabled onchange="getImportSavedMap(this)">';
$map_list_combo .= '<OPTION value="-1" selected>--Select--</OPTION>';
if (is_array($saved_map_lists)) {
foreach ($saved_map_lists as $mapid => $mapname) {
$map_list_combo .= '<OPTION value=' . $mapid . '>' . $mapname . '</OPTION>';
}
}
$map_list_combo .= '</select>';
//This link is Delete link for the selected mapping
$map_list_combo .= " <span id='delete_mapping' style='visibility:hidden;'><a href='javascript:; deleteMapping();'>Del</a></span>";
$smarty->assign("SAVED_MAP_LISTS", $map_list_combo);
if (count($mapping_arr) > 0) {
$field_map =& $mapping_arr;
} else {
if ($_REQUEST['source'] == 'other') {