本文整理汇总了PHP中FormHandler::prepare_list_subselection方法的典型用法代码示例。如果您正苦于以下问题:PHP FormHandler::prepare_list_subselection方法的具体用法?PHP FormHandler::prepare_list_subselection怎么用?PHP FormHandler::prepare_list_subselection使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FormHandler
的用法示例。
在下文中一共展示了FormHandler::prepare_list_subselection方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: deselectHeaders
$msg = "Ratecard is not merged, please try again with different search criteria.";
}
}
$_SESSION['search_ratecard'] = "";
}
$HD_Form->FG_FILTER_SEARCH_FORM = true;
$HD_Form->FG_FILTER_SEARCH_TOP_TEXT = gettext("Define the search criteria");
$HD_Form->FG_FILTER_SEARCH_1_TIME_TEXT = gettext("Start Date / Month");
$HD_Form->FG_FILTER_SEARCH_2_TIME_TEXT = gettext("Start Date / Day");
$HD_Form->FG_FILTER_SEARCH_2_TIME_FIELD = 'startdate';
$HD_Form->AddSearchElement_C1(gettext("TAG"), 'tag', 'tagtype');
$HD_Form->AddSearchElement_C1(gettext("DESTINATION"), 'destination', 'destinationtype');
$HD_Form->AddSearchElement_C1(gettext("PREFIX"), 'dialprefix', 'dialprefixtype');
$HD_Form->AddSearchElement_C2(gettext("BUYRATE"), 'buyrate1', 'buyrate1type', 'buyrate2', 'buyrate2type', 'buyrate');
$HD_Form->AddSearchElement_C2(gettext("RATE INITIAL"), 'rateinitial1', 'rateinitial1type', 'rateinitial2', 'rateinitial2type', 'rateinitial');
$HD_Form->prepare_list_subselection('list');
$HD_Form->FG_FILTER_SEARCH_FORM_SELECT_TEXT = 'TRUNK';
$HD_Form->AddSearchElement_Select('SELECT TRUNK', "cc_trunk", "id_trunk, trunkcode, providerip", "", "trunkcode", "ASC", "id_trunk");
$_SESSION['search_ratecard'] = $HD_Form->FG_TABLE_CLAUSE;
/*************************************************************/
$instance_table_tariffname = new Table("cc_tariffplan", "id, tariffname");
$con = "";
$list_tariffname = $instance_table_tariffname->Get_list($HD_Form->DBHandle, $con, "tariffname", "ASC", null, null, null, null);
$nb_tariffname = count($list_tariffname);
$smarty->display('main.tpl');
?>
<script language="JavaScript" type="text/javascript">
<!--
function deselectHeaders()
{
document.prefs.unselected_search_sources[0].selected = false;