本文整理汇总了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));
?>
示例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>
示例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);
示例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));
示例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));
示例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>
示例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));
?>
示例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>
示例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));
?>
示例10:
<?php
use mvc\view\viewClass as view;
?>
<div class="container container-fluid">
<?php
view::includePartial('prestamo/formCargo');
?>
</div>
示例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
示例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">
示例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>
示例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');
?>
示例15: renderComponent
public function renderComponent()
{
view::renderComponent($this->module . '/' . $this->view, $this->arg);
}