本文整理匯總了PHP中Pessoa::getIdEstadoCivil方法的典型用法代碼示例。如果您正苦於以下問題:PHP Pessoa::getIdEstadoCivil方法的具體用法?PHP Pessoa::getIdEstadoCivil怎麽用?PHP Pessoa::getIdEstadoCivil使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Pessoa
的用法示例。
在下文中一共展示了Pessoa::getIdEstadoCivil方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: EstadoCivil
<label class="col-sm-1 control-label no-padding-right" for="genero"><strong>Sexo:</strong></label>
<div class="col-sm-9">
<select id="genero" class="col-xs-10 col-sm-5" name="genero">
<option value="M">Masculino</option>
<option value="F">Feminino</option>
</select>
</div>
</div>
<div id="lblEstadoCivil"class="form-group">
<label class="col-sm-1 control-label no-padding-right" for="idEstadoCivil"><strong>Estado civil:</strong></label>
<div class="col-sm-9">
<select id="idEstadoCivil" class="col-xs-10 col-sm-5" name="idEstadoCivil">
<?php
$estadoCivil = new EstadoCivil(Conf::pegCnxPadrao());
$util->preencheComboDB($estadoCivil->getCadastrados(), $credenciado->getIdEstadoCivil());
?>
</select>
</div>
</div>
</fieldset>
</div>
<div id="contato" class="tab-pane">
<fieldset>
<legend><strong>Contato:</strong></legend>
<div id="lblTelefone" class="form-group">
<label for="telefone" class="col-sm-1 control-label no-padding-right"><strong>Telefone:</strong></label>
<div class="col-sm-9">
示例2: EstadoCivil
<p id="lblRg"><label for="rg_ie">RG:</label><input type="text" id="rg_ie" class="medium" name="rg_ie" value="<?php
echo $proprietario->getRg_ie();
?>
" maxlength="14" /></p>
<p id="lblNascimento"><label for="dtNascimento">Nascimento:</label><input type="text" id="dtNascimento" class="medium data" name="dtNascimento" value="<?php
echo $util->formataData_DiaMesAno(str_replace('//', '', $proprietario->getDtNascimento()));
?>
" /></p>
<p id="lblGenero"><label for="genero">Sexo:</label><select id="genero" class="medium" name="genero">
<option value="M">Masculino</option>
<option value="F">Feminino</option>
</select></p>
<p id="lblEstadoCivil"><label for="estadoCivil">Estado civil:</label><select id="idEstadoCivil" class="medium" name="idEstadoCivil">
<?php
$estadoCivil = new EstadoCivil(Conf::pegCnxPadrao());
$util->preencheComboDB($estadoCivil->getCadastrados(), $proprietario->getIdEstadoCivil());
?>
</select></p>
</fieldset>
<fieldset><legend> Contato:</legend>
<p><label for="telefone">Telefone:</label><input type="text" id="telefone" class="telefone" name="telefone" value="<?php
echo $proprietario->getTelefone();
?>
" maxlength="15" /></p>
<p><label for="fax">Fax:</label><input type="text" id="fax" class="telefone" name="fax" value="<?php
echo $proprietario->getFax();
?>
" maxlength="15" /></p>
<p><label for="celular">Celular:</label><input type="text" id="celular" class="telefone" name="celular" value="<?php
echo $proprietario->getCelular();
?>
示例3: EstadoCivil
<div id="lblGenero" class="form-group">
<label for="genero" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Sexo:</label>
<div class="col-sm-9">
<select id="genero" class="col-xs-10 col-sm-5" name="genero">
<option value="M">Masculino</option>
<option value="F">Feminino</option>
</select>
</div>
</div>
<div id="lblEstadoCivil">
<label for="idEstadoCivil" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Estado civil:</label>
<div class="col-sm-9">
<select id="idEstadoCivil" class="col-xs-10 col-sm-5" name="idEstadoCivil">
<?php
$estadoCivil = new EstadoCivil(Conf::pegCnxPadrao());
$util->preencheComboDB($estadoCivil->getCadastrados(), $cliente->getIdEstadoCivil());
?>
</select>
</div>
</div>
</fieldset>
</div>
<div id="contato" class="tab-pane">
<fieldset>
<legend><strong>Contato:</strong></legend>
<div id="lblTelefone" class="form-group">
<label for="telefone" class="col-sm-2 control-label no-padding-right"><strong>Telefone:</strong></label>
<div class="col-sm-9">