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


PHP Pessoa::getIdEstadoCivil方法代码示例

本文整理汇总了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">
开发者ID:juniormelo,项目名称:eimoveis,代码行数:31,代码来源:credenciadocad.php

示例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>&nbsp;&nbsp;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();
?>
开发者ID:juniormelo,项目名称:eimoveis,代码行数:31,代码来源:imovelcad_.php

示例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">
开发者ID:juniormelo,项目名称:eimoveis,代码行数:31,代码来源:clientecad.php


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