當前位置: 首頁>>代碼示例>>PHP>>正文


PHP View\viewClass類代碼示例

本文整理匯總了PHP中MVC\View\viewClass的典型用法代碼示例。如果您正苦於以下問題:PHP viewClass類的具體用法?PHP viewClass怎麽用?PHP viewClass使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了viewClass類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: ucwords

<?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));
?>

開發者ID:rooseveltDiaz,項目名稱:proyecto_porcicola,代碼行數:27,代碼來源:editTemplate.html.php

示例2: ucwords

<?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>
開發者ID:rooseveltDiaz,項目名稱:proyecto_porcicola,代碼行數:29,代碼來源:editRegistroPesoTemplate.html.php

示例3:

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

示例4: array

<?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));
開發者ID:jordanMarin,項目名稱:prestamo,代碼行數:12,代碼來源:insertTemplate.html.php

示例5: array

<?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));
開發者ID:jordanMarin,項目名稱:prestamo,代碼行數:13,代碼來源:editTemplate.html.php

示例6: array

<?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>
開發者ID:rooseveltDiaz,項目名稱:proyecto_porcicola,代碼行數:30,代碼來源:insertVacunacionTemplate.html.php

示例7: array

<?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));
?>

開發者ID:rooseveltDiaz,項目名稱:proyecto_porcicola,代碼行數:22,代碼來源:insertTemplate.html.php

示例8: ucwords

<?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>

開發者ID:rooseveltDiaz,項目名稱:proyecto_porcicola,代碼行數:29,代碼來源:editVacunacionTemplate.html.php

示例9: array

<?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));
?>

開發者ID:rooseveltDiaz,項目名稱:proyecto_porcicola,代碼行數:25,代碼來源:editTemplate.html.php

示例10:

<?php

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

開發者ID:jordanMarin,項目名稱:prestamo,代碼行數:9,代碼來源:formCargoInsertarTemplate.html.php

示例11:

">
    <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 
開發者ID:vixhymartinez,項目名稱:proyecto_porcicola,代碼行數:31,代碼來源:head.php

示例12:

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">
開發者ID:jordanMarin,項目名稱:prestamo,代碼行數:30,代碼來源:indexTemplate.html.php

示例13: array

<?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>
開發者ID:rooseveltDiaz,項目名稱:proyecto_porcicola,代碼行數:30,代碼來源:insertRegistroPesoTemplate.html.php

示例14: array

" 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');
?>






開發者ID:jordanMarin,項目名稱:prestamo,代碼行數:24,代碼來源:listadoTemplate.html.php

示例15: renderComponent

 public function renderComponent()
 {
     view::renderComponent($this->module . '/' . $this->view, $this->arg);
 }
開發者ID:rooseveltDiaz,項目名稱:proyecto_porcicola,代碼行數:4,代碼來源:componentClass.php


注:本文中的MVC\View\viewClass類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。