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


PHP viewClass::getMessageError方法代码示例

本文整理汇总了PHP中MVC\View\viewClass::getMessageError方法的典型用法代码示例。如果您正苦于以下问题:PHP viewClass::getMessageError方法的具体用法?PHP viewClass::getMessageError怎么用?PHP viewClass::getMessageError使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在MVC\View\viewClass的用法示例。


在下文中一共展示了viewClass::getMessageError方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

" type="text" class="form-control" id="inputUsuario" name="inputUsuario" placeholder="Digite usuario">
      </div>
    
    <label for="inputPassword" class="col-sm-2 control-label">Contraseña</label>
      <div class="col-sm-10">
        <input value="" type="password" class="form-control" id="inputPassword" name="inputPassword" placeholder="Digite contraseña">
      </div>
    
  </fieldset>
  <fieldset>
    <legend><i class="glyphicon glyphicon-phone"></i>Datos del cliente</legend>
    <?php 
if (session::getInstance()->hasError('inputCliente')) {
    ?>
    <?php 
    view::getMessageError('inputCliente');
    ?>
    <?php 
}
?>
    <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputCliente') ? 'has-error has-feedback' : '';
?>
">

      <label for="inputCliente" class="col-sm-2 control-label">TIPO DE DOCUMENTO</label>
      <div class="col-sm-10">
        <select class="form-control" name="<?php 
echo clienteTableClass::getNameField(clienteTableClass::TIPO_DOCUMENTO_ID, true);
?>
">
开发者ID:jordanMarin,项目名称:prestamo,代码行数:31,代码来源:formClienteTemplate.html.php

示例2:

use mvc\session\sessionClass as session;
use mvc\routing\routingClass as routing;
use mvc\request\requestClass as request;
use mvc\view\viewClass as view;
?>
<form class="form-horizontal ibody" role="form" method="POST" action="<?php 
echo routing::getInstance()->getUrlWeb('barrio', 'createBarrio');
?>
">
  <fieldset>
    <legend><i class="glyphicon glyphicon-map-marker"></i> Nuevo barrio</legend>
    <?php 
if (session::getInstance()->hasError('inputBarrio')) {
    ?>
      <?php 
    view::getMessageError('inputBarrio');
    ?>
    <?php 
}
?>
    <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputBarrio') ? 'has-error has-feedback' : '';
?>
">
      <label for="inputBarrio" class="col-sm-2 control-label">BARRIO</label>
      <div class="col-sm-10">
        <input value="<?php 
echo request::getInstance()->hasPost('inputBarrio') ? request::getInstance()->getPost('inputBarrio') : '';
?>
" type="text" class="form-control" id="inputBarrio" name="<?php 
echo barrioTableClass::getNameField(barrioTableClass::NOMBRE_BARRIO, TRUE);
开发者ID:jordanMarin,项目名称:prestamo,代码行数:31,代码来源:formBarrio.php

示例3:

" type="text" class="form-control" id="inputUsuario" name="inputUsuario" placeholder="Digite usuario">
      </div>
    
    <label for="inputPassword" class="col-sm-2 control-label">Contraseña</label>
      <div class="col-sm-10">
        <input value="" type="password" class="form-control" id="inputPassword" name="inputPassword" placeholder="Digite contraseña">
      </div>
    
  </fieldset>
  <fieldset>
    <legend><i class="glyphicon glyphicon-phone"></i>Datos del empleado</legend>
    <?php 
if (session::getInstance()->hasError('inputEmpleado')) {
    ?>
    <?php 
    view::getMessageError('inputEmpleado');
    ?>
    <?php 
}
?>
    
    
    
   
     <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputnombre') ? 'has-error has-feedback' : '';
?>
">
      <label for="inputnombre" class="col-sm-2 control-label">NOMBRE</label>
      <div class="col-sm-10">
        <input value="<?php 
开发者ID:jordanMarin,项目名称:prestamo,代码行数:31,代码来源:formEmpleadoTemplate.html.php

示例4:

    
    
    
    
    
    
    
    
    
    
    
     <?php 
if (session::getInstance()->hasError('inputLocalidad')) {
    ?>
      <?php 
    view::getMessageError('inputLocalidad');
    ?>
    <?php 
}
?>
    
    <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputLocalidad') ? 'has-error has-feedback' : '';
?>
">
    
     <label for="inputLocalidad" class="col-sm-2 control-label">LOCALIDAD</label>
      <div class="col-sm-10">
        <select class="form-control" name="inputLocalidad">

          <option value="">Seleccione LOCALIDAD</option>
开发者ID:jordanMarin,项目名称:prestamo,代码行数:20,代码来源:formCodeudor.php

示例5:

?>
">
  <input type="hidden" name="<?php 
echo negocioTableClass::getNameField(negocioTableClass::ID, true);
?>
" value="<?php 
echo $objNegocio[0]->id;
?>
">
  <fieldset>
    
    <?php 
if (session::getInstance()->hasError('inputNegocio')) {
    ?>
    <?php 
    view::getMessageError('inputNegocio');
    ?>
    <?php 
}
?>
  
   
     <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputnombre') ? 'has-error has-feedback' : '';
?>
">
      <label for="inputnombre" class="col-sm-2 control-label">NOMBRE</label>
      <div class="col-sm-10">
        <input value="<?php 
echo $objNegocio[0]->nombre;
?>
开发者ID:jordanMarin,项目名称:prestamo,代码行数:31,代码来源:formEdit.php

示例6:

use mvc\session\sessionClass as session;
use mvc\routing\routingClass as routing;
use mvc\request\requestClass as request;
use mvc\view\viewClass as view;
?>

<form class="form-horizontal ibody" role="form" method="POST" action="<?php 
echo routing::getInstance()->getUrlWeb('banco', 'createBanco');
?>
">
  <fieldset>
    <?php 
if (session::getInstance()->hasError('inputBanco')) {
    ?>
    <?php 
    view::getMessageError('inputBanco');
    ?>
    <?php 
}
?>
    <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputBanco') ? 'has-error has-feedback' : '';
?>
">
      <label for="inputnombre" class="col-sm-2 control-label">NOMBRE</label>
      <div class="col-sm-10">
        <input value="<?php 
echo request::getInstance()->hasPost('inputBanco') ? request::getInstance()->getPost('inputBanco') : '';
?>
" type="text" class="form-control" id="inputnombre" name="inputBanco" placeholder="digite el nombre">
        <?php 
开发者ID:jordanMarin,项目名称:prestamo,代码行数:31,代码来源:formBanco.php

示例7:

use mvc\session\sessionClass as session;
use mvc\routing\routingClass as routing;
use mvc\request\requestClass as request;
use mvc\view\viewClass as view;
?>
<form class="form-horizontal ibody" role="form" method="POST" action="<?php 
echo routing::getInstance()->getUrlWeb('prestamo', 'createCargo');
?>
">
  <fieldset>
    <legend><i class="fa fa-street-view"></i> Nuevo cargo</legend>
    <?php 
if (session::getInstance()->hasError('inputCargo')) {
    ?>
    <?php 
    view::getMessageError('inputCargo');
    ?>
    <?php 
}
?>
    <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputCargo') ? 'has-error has-feedback' : '';
?>
">
      <label for="inputCargo" class="col-sm-2 control-label">Cargo</label>
      <div class="col-sm-10">
        <input value="<?php 
echo request::getInstance()->hasPost('inputCargo') ? request::getInstance()->getPost('inputCargo') : '';
?>
" type="text" class="form-control" id="inputCargo" name="inputCargo" placeholder="Digite el cargo">
        <?php 
开发者ID:jordanMarin,项目名称:prestamo,代码行数:31,代码来源:formCargo.php

示例8:

          <?php 
    session::getInstance()->deleteError('inputPassword');
    ?>
        <?php 
}
?>
      </div>
      
  </fieldset>
  <fieldset>
    <legend><i class="glyphicon glyphicon-phone"></i>Datos del empleado</legend>
    <?php 
if (session::getInstance()->hasError('inputTipo_documento')) {
    ?>
      <?php 
    view::getMessageError('inputTipo_documento');
    ?>
    <?php 
}
?>
    
     <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputTipo_documento') ? 'has-error has-feedback' : '';
?>
">

      <label for="inputTipo_documento" class="col-sm-2 control-label">TIPO DE DOCUMENTO</label>
      <div class="col-sm-10">
        <select class="form-control" name="inputTipo_documento">
          <option value="">Seleccione TIPO DOCUMENTO</option>
          <?php 
开发者ID:jordanMarin,项目名称:prestamo,代码行数:31,代码来源:formEmpleado.php


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