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