示例#1
0
 public function get_select()
 {
     $ar[""] = "";
     $ar["v1111"] = "txt1111";
     $ar["v2222"] = "txt2222";
     $ar["v3333"] = "txt3333";
     $ar["v4444"] = "txt4444";
     $ar["v5555"] = "txt5555";
     $ar["v6666"] = "txt6666";
     $ar["v7777"] = "txt7777";
     $ar["v8888"] = "txt8888";
     $oSelect = new HelperSelect($ar, "selTestSingle");
     $oSelect->show();
 }
$oSelFamilia->set_class("ui-input-text ui-body-d");
$oSelFamilia->class_not_for_label();
$arPicklist = array();
$sSQLAnd = "";
if (!empty($sCodeFamilia)) {
    $sSQLAnd = "Code_Family='{$sCodeFamilia}'";
}
$arPicklist = MainModel::get_data_for_picklist("MTB_Products_SubFamily", "", "", $sSQLAnd);
$oSelSubFamilia = new HelperSelect($arPicklist, "sch_Code_Subfamilia", "Subfamilia", $oSchProporsal->get_code_subfamilia());
$oSelSubFamilia->set_extras("data-type=\"search\"");
$oSelSubFamilia->set_class("ui-input-text ui-body-d");
$oSelSubFamilia->class_not_for_label();
$oTxtCodProducto->show();
$oSelConcepto->show();
$oSelFamilia->show();
$oSelSubFamilia->show();
?>
        <br />
<?php 
$oListHeader = new HelperListHeader("Concepto", "Cod. Prop", array("Item", "Estado", "Dto", "Dto Ant"));
$oSelPage->show();
$oHidNumPage->show();
?>
        <ul data-role="listview" data-inset="true">
<?php 
$oListHeader->show();
$oHlpList->show();
?>
        </ul> 
    </div>
<?php