本文整理汇总了PHP中Pessoa::getFantasia方法的典型用法代码示例。如果您正苦于以下问题:PHP Pessoa::getFantasia方法的具体用法?PHP Pessoa::getFantasia怎么用?PHP Pessoa::getFantasia使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Pessoa
的用法示例。
在下文中一共展示了Pessoa::getFantasia方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<div id="lblRazao" class="form-group">
<label class="col-sm-1 control-label no-padding-right" for="razao"><strong>Nome:</strong></label>
<div class="col-sm-9">
<input type="text" id="razao" class="obrigatorio col-xs-10 col-sm-5" name="razao" value="<?php
echo $credenciado->getRazao();
?>
" maxlength="100" title="Razão"/>
</div>
</div>
<div id="lblFantasia" class="form-group">
<label class="col-sm-1 control-label no-padding-right" for="fantasia"><strong>Apelido:</strong></label>
<div class="col-sm-9">
<input type="text" id="fantasia" class="col-xs-10 col-sm-5" name="fantasia" value="<?php
echo $credenciado->getFantasia();
?>
" maxlength="100" />
</div>
</div>
<div id="lblRg" class="form-group">
<label class="col-sm-1 control-label no-padding-right" for="rg_ie"><strong>RG:</strong></label>
<div class="col-sm-9">
<input type="text" id="rg_ie" class="col-xs-10 col-sm-5" name="rg_ie" value="<?php
echo $credenciado->getRg_ie();
?>
" maxlength="14" />
</div>
</div>
示例2:
</fieldset>
<fieldset><legend> Dados pessoais:</legend>
<input type="hidden" id="idPessoa" name="idPessoa" value="<?php
echo $proprietario->getIdPessoa();
?>
" />
<p id="lblCpf"><label for="cpf_cnpj">CPF:</label><input type="text" id="cpf_cnpj" name="cpf_cnpj" class="" value="<?php
echo $proprietario->getCpf_cnpj();
?>
" title="CPF" onblur="localizarPessoa()"/></p>
<p id="lblRazao"><label for="razao">Nome:</label><input type="text" id="razao" class="medium" name="razao" value="<?php
echo $proprietario->getRazao();
?>
" maxlength="100" /></p>
<p id="lblFantasia"><label for="fantasia">Apelido:</label><input type="text" id="fantasia" class="medium" name="fantasia" value="<?php
echo $proprietario->getFantasia();
?>
" maxlength="100" /></p>
<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">
示例3:
<div id="lblRazao" class="form-group">
<label for="razao" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Nome:</label>
<div class="col-sm-9">
<input type="text" id="razao" class="col-xs-10 col-sm-5 obrigatorio" name="razao" value="<?php
echo $cliente->getRazao();
?>
" maxlength="100" />
</div>
</div>
<div id="lblFantasia" class="form-group">
<label for="fantasia" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Apelido:</label>
<div class="col-sm-9">
<input type="text" id="fantasia" class="col-xs-10 col-sm-5" name="fantasia" value="<?php
echo $cliente->getFantasia();
?>
" maxlength="100" />
</div>
</div>
<div id="lblRg" class="form-group">
<label for="rg_ie" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">RG:</label>
<div class="col-sm-9">
<input type="text" id="rg_ie" class="col-xs-10 col-sm-5" name="rg_ie" value="<?php
echo $cliente->getRg_ie();
?>
" maxlength="14" />
</div>
</div>