php MVC-View-viewClass类(方法)实例源码

下面列出了php MVC-View-viewClass 类(方法)源码代码实例,从而了解它的用法。

作者:rooseveltDia    项目:proyecto_porcicol   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">

          <h2><?php 
echo i18n::__('edit', NULL, 'animal');
?>
 :</h2>
              <h3><?php 
echo $objAnimal[0]->id = ucwords($objAnimal[0]->id);
?>
</h3>
        </div>
      </div>
    </div>
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formAnimal', array('objAnimal' => $objAnimal, 'objGenero' => $objGenero, 'objRaza' => $objRaza, 'objLote' => $objLote));
?>

作者:rooseveltDia    项目:proyecto_porcicol   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">

          <h2><?php 
echo i18n::__('e', NULL, 'dpVenta');
?>
 :</h2>
              <h3><?php 
echo $objRegistroPeso[0]->fecha_registro = ucwords($objRegistroPeso[0]->fecha_registro);
?>
</h3>
        </div>
      </div>
    </div>
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formRegistroPeso', array('objAnimal' => $objAnimal, 'objEmpleado' => $objEmpleado));
?>
  </div>
</main>

作者:jordanMari    项目:prestam   
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);

作者:jordanMari    项目:prestam   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<h1>NUEVO CARGO <?php 
echo $mensaje;
?>
</h1>
<?php 
view::includePartial('default/formUser', array('mensaje' => $mensaje));

作者:jordanMari    项目:prestam   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
$usuario = usuarioTableClass::USER;
?>
<h1>EDITAR USUARIO <?php 
echo $objUsuario[0]->{$usuario};
?>
</h1>
<?php 
view::includePartial('default/formUser', array('objUsuario' => $objUsuario, 'usuario' => $usuario));

作者:rooseveltDia    项目:proyecto_porcicol   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>

<main class="mdl-layout__content mdl-color--blue-300">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">
         
          <h2>  <?php 
echo i18n::__('detailVaccination', NULL, 'detalleVacunacion');
?>
          </h2>
        </div>
      </div>
    </div>
    
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formVacunacion', array('idAnimalHojaVida' => $idAnimalHojaVida, 'objVeterinario' => $objVeterinario, 'objAnimal' => $objAnimal, 'objVacuna' => $objVacuna));
?>

  </div>
</main>

</form>

作者:rooseveltDia    项目:proyecto_porcicol   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-300">
<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 text-center">
          
            <h2>  <?php 
echo i18n::__('new', NULL, 'parto');
?>
            </h2>
        </div>
    </div>
</div>

<?php 
view::includePartial('registroParto/formParto', array("idAnimalSeleccionado" => $idAnimalSeleccionado));
?>

作者:rooseveltDia    项目:proyecto_porcicol   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">

          <h2><?php 
echo i18n::__('edit', NULL, 'vacunacion');
?>
 :</h2>
              <h3><?php 
echo $objCarne[0]->fecha_vacunacion = ucwords($objCarne[0]->fecha_vacunacion);
?>
</h3>
        </div>
      </div>
    </div>
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formVacunacion', array('objAnimal' => $objAnimal, 'objVacuna' => $objVacuna, 'objVeterinario' => $objVeterinario, 'objCarne' => $objCarne));
?>

</main>

作者:rooseveltDia    项目:proyecto_porcicol   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 text-center">
            <h2><?php 
echo i18n::__('ed', NULL, 'userCredencial');
?>
 
            <br>   
            <?php 
// print_r($objCredencial)
?>
        </div>
    </div>
</div>
<?php 
//view::includeHandlerMessage()
view::includePartial('usuarioCredencial/formUcrede', array('objUsuario' => $objUsuario, 'objCredencial' => $objCredencial));
?>

作者:jordanMari    项目:prestam   
<?php

use mvc\view\viewClass as view;
?>
<div class="container container-fluid">
  <?php 
view::includePartial('prestamo/formCargo');
?>
</div>

作者:vixhymartine    项目:proyecto_porcicol   
">
    <head>
        <?php 
echo \mvc\view\viewClass::genTitle();
?>
        <?php 
echo \mvc\view\viewClass::genMetas();
?>
        <?php 
echo \mvc\view\viewClass::genFavicon();
?>
        <?php 
echo \mvc\view\viewClass::genStylesheet();
?>
        <?php 
echo \mvc\view\viewClass::genJavascript();
?>
    </head>
    <body>
        <div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
            <!--        <div class="saltos">
                    <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
                    </div>-->
            <?php 
if (session::getInstance()->hasUserId() == false) {
    ?>
   
                <div class="saltosLogin">
                    <br/><br/><br/>
                </div>   
            <?php

作者:jordanMari    项目:prestam   
use mvc\routing\routingClass as routing;
use mvc\view\viewClass as view;
?>

<div class="navbar-wrapper">
  <div class="container container-fluid">
  <?php 
view::includePartial('parcial/menu');
?>
  </div>
</div>

<div data-ride="carousel" class="carousel slide" id="myCarousel">
<?php 
view::includePartial('parcial/carusel');
?>
</div>

<div class="container marketing">

  <!-- Three columns of text below the carousel -->
  <div class="row">
    <div class="col-lg-4">
      <img width="140" height="140" alt="Generic placeholder image" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" class="img-circle">
      <h2>Heading</h2>
      <p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.</p>
      <p><a role="button" href="#" class="btn btn-default">View details »</a></p>
    </div><!-- /.col-lg-4 -->
    <div class="col-lg-4">
      <img width="140" height="140" alt="Generic placeholder image" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" class="img-circle">

作者:rooseveltDia    项目:proyecto_porcicol   
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>

<main class="mdl-layout__content mdl-color--blue-300">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">
         
          <h2>  <?php 
echo i18n::__('n', NULL, 'dpVenta');
?>
          </h2>
        </div>
      </div>
    </div>
    
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formRegistroPeso', array('idAnimalSeleccionado' => $idAnimalSeleccionado, 'objEmpleado' => $objEmpleado, 'objAnimal' => $objAnimal));
?>

  </div>
</main>

</form>

作者:jordanMari    项目:prestam   
" class="btn btn-primary btn-xs"><i class="fa fa-edit"></i> Editar</a>
                    <a href="" class="btn btn-danger btn-xs" data-toggle="modal" data-target="#myModal<?php 
    echo $empleado->id;
    ?>
"><i class="fa fa-times"></i> Eliminar</a>
                    <?php 
    view::includePartial('componente/modalDelete', array('id' => $empleado->id, 'url' => routing::getInstance()->getUrlWeb('@empleado_delete', array('id' => $empleado->id)), 'mensaje' => '¿Desea eliminar el empleado seleccionado?'));
    ?>
                  </td>
                </tr>
              <?php 
}
?>
            </tbody>
          </table>
          <!-- TABLA -->
        </div>
      </div>
    </div>
  </div>
</div>
<?php 
view::includePartial('componente/footer');
?>

作者:rooseveltDia    项目:proyecto_porcicol   
public function renderComponent()
 {
     view::renderComponent($this->module . '/' . $this->view, $this->arg);
 }

作者:jordanMari    项目:prestam   
<?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>

作者:jordanMari    项目:prestam   
" 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

作者:jordanMari    项目:prestam   
" 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);
?>
">

作者:vixhymartine    项目:proyecto_porcicol   
<div class="mdl-tooltip mdl-tooltip--large" for="deleteMasa">
                    <?php 
echo i18n::__('eliminarMasa', null, 'ayuda');
?>
                                </div>-->
                                 <a href="#myModalReport" data-toggle="modal" id="informe" class="btn btn-primary active btn-sm fa fa-paw"></a>
                    <div class="mdl-tooltip mdl-tooltip--large" for="informe">
                        <?php 
echo i18n::__('buscarReporteDetGes', null, 'ayuda');
?>
                    </div>

                </div>
            </div>
            <?php 
view::includeHandlerMessage();
?>
            <div class="table-responsive">
                <table class="table table-bordered">
                    <thead>
                        <tr class="success">
<!--                                <td><input type="checkbox" id="chkAll"></td> -->
                            <th><?php 
echo i18n::__('numero de documento');
?>
</th>  
                            <th><?php 
echo i18n::__('fechaRegistro', null, 'vacunacion');
?>
</th>             
                            <th><?php


问题


面经


文章

微信
公众号

扫码关注公众号