当前位置: 首页>>代码示例>>PHP>>正文


PHP Combo::setDisabled方法代码示例

本文整理汇总了PHP中Combo::setDisabled方法的典型用法代码示例。如果您正苦于以下问题:PHP Combo::setDisabled方法的具体用法?PHP Combo::setDisabled怎么用?PHP Combo::setDisabled使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Combo的用法示例。


在下文中一共展示了Combo::setDisabled方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Combo

 ORDER BY 2";
$comboSexoEmpleador = new Combo($sql, "sexoEmpleador", ($alta)?-1:$row["SA_SEXO_TITULAR"]);
$comboSexoEmpleador->setClass("select2");

$sql =
	"SELECT 'F' id, 'Femenino' detalle
		 FROM DUAL
UNION ALL
	 SELECT 'M', 'Masculino'
		 FROM DUAL
 ORDER BY 2";
$comboSexoResponsable = new Combo($sql, "sexoResponsable", ($alta)?-1:$row["SA_SEXO_CONT"]);
$comboSexoResponsable->setClass("select2");

$sql =
	"SELECT tb_codigo id, tb_descripcion detalle
		 FROM ctb_tablas
		WHERE tb_clave = 'TARJE'
			AND tb_fechabaja IS NULL
 ORDER BY 2";
$comboTarjetaCredito = new Combo($sql, "tarjetaCredito", (isset($rowRC["PR_ORIGENPAGO"]))?($alta)?-1:$rowRC["PR_ORIGENPAGO"]:-1);
$comboTarjetaCredito->setClass("select2");

$sql =
	"SELECT 1
		 FROM DUAL
		WHERE 1 = 2";
$comboTarjetaCreditoFalso = new Combo($sql, "tarjetaCreditoFalso");
$comboTarjetaCreditoFalso->setClass("select2");
$comboTarjetaCreditoFalso->setDisabled(true);
?>
开发者ID:javierlov,项目名称:FuentesWeb,代码行数:31,代码来源:afiliacion_combos.php

示例2: Combo

                   WHERE TM_IDTAREA = :idtarea 
                     AND TM_FECHABAJA IS NULL 
                     AND TM_IDMOTIVO = MO_ID 
                     AND MO_FECHABAJA IS NULL ";
				if($row["TP_IDTAREA"]!='')
				{
					$idmotivo = $row["TP_IDMOTIVO"];
				}
				else
				{ 
					$idmotivo = -1;
				}
				$comboDetalle = new Combo($sqlDetalle, "detalleTarea_".$row["TA_ID"], $idmotivo );
				$comboDetalle->setFirstItem("- SELECCIONE DETALLE TAREA -");
				$comboDetalle->addParam(":idtarea",$row["TA_ID"] );
				$comboDetalle->setDisabled(true);
				$comboDetalle->setClass("combo");
				$comboDetalle->draw();
				
		?>
				</div>
				</td>
		<?
				$count++;
				if($count == 1)
				{
		?>
			</tr>
		<?       
				$count = 0;
				}
开发者ID:javierlov,项目名称:FuentesWeb,代码行数:31,代码来源:baja_tarea.php

示例3: Combo

<?
require_once($_SERVER["DOCUMENT_ROOT"]."/../Classes/provart/combo.php");


$sql =
	"SELECT em_id id, em_detalle detalle
		 FROM rrhh.rem_empresas
 ORDER BY 2";
$comboEmpresa = new Combo($sql, "empresa", $empresa);
$comboEmpresa->setClass("combo");
$comboEmpresa->setDisabled($habilitarEmpresa);
$comboEmpresa->setOnChange("cambiarEmpresa(-1, -1, -1)");

$sql =
	"SELECT es_id id, es_detalle detalle
		 FROM rrhh.res_estadossistemasgestion
 ORDER BY 1";
$comboEstado = new Combo($sql, "estado", $estado);
$comboEstado->setClass("combo");

$sql =
	"SELECT ge_id id, ge_detalle detalle
		 FROM rrhh.rge_gerencias
 ORDER BY 2";
$comboGerencia = new Combo($sql, "gerencia", $gerencia);
$comboGerencia->setClass("combo");

$sql =
	"SELECT gr_id id, gr_detalle detalle
		 FROM rrhh.rgr_grupos
 ORDER BY 2";
开发者ID:javierlov,项目名称:FuentesWeb,代码行数:31,代码来源:buscar_usuario_combos.php

示例4: Combo

		 FROM DUAL";
$comboSexoHYS = new Combo($sql, "sexoHYS", $rowHYS["SEXO"]);
$comboSexoHYS->setDisabled(!$camposEnabled);

$sql =
	"SELECT tb_codigo id, tb_descripcion detalle
		 FROM ctb_tablas
		WHERE tb_clave = 'TDOC'
			AND tb_codigo <> '0'
			AND tb_fechabaja IS NULL
 ORDER BY 2";
$comboTipoDocumento = new Combo($sql, "tipoDocumento", $row["TIPODOCUMENTORESP"]);
$comboTipoDocumento->setDisabled(!$camposDatosResponsableEnabled);

$sql =
	"SELECT tb_codigo id, tb_descripcion detalle
		 FROM ctb_tablas
		WHERE tb_clave = 'TDOC'
			AND tb_codigo <> '0'
			AND tb_fechabaja IS NULL
 ORDER BY 2";
$comboTipoDocumentoHYS = new Combo($sql, "tipoDocumentoHYS", $rowHYS["TIPODOCUMENTO"]);
$comboTipoDocumentoHYS->setDisabled(!$camposEnabled);

$sql =
	"SELECT tt_id id, tt_descripcion detalle
		 FROM att_tipotelefono
 ORDER BY 2";
$comboTipoTelefono = new Combo($sql, "tipoTelefono", $row["TIPOTELEFONORESP"]);
$comboTipoTelefono->setDisabled(!$camposDatosResponsableEnabled);
?>
开发者ID:javierlov,项目名称:FuentesWeb,代码行数:31,代码来源:aviso_obra_combos.php


注:本文中的Combo::setDisabled方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。