本文整理汇总了PHP中MVC\View\viewClass类的典型用法代码示例。如果您正苦于以下问题:PHP viewClass类的具体用法?PHP viewClass怎么用?PHP viewClass使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了viewClass类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16:
<?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
示例17:
" 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
示例18:
" 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
示例19:
<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
开发者ID:vixhymartinez,项目名称:proyecto_porcicola,代码行数:31,代码来源:indexTemplate.html.php
注:本文中的MVC\View\viewClass类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论