本文整理汇总了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">