本文整理汇总了PHP中mvc\routing\routingClass类的典型用法代码示例。如果您正苦于以下问题:PHP routingClass类的具体用法?PHP routingClass怎么用?PHP routingClass使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了routingClass类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST')) {
$id = request::getInstance()->getPost(insumoTableClass::getNameField(insumoTableClass::ID, true));
$nombre = request::getInstance()->getPost(insumoTableClass::getNameField(insumoTableClass::NOMBRE, true));
$fabricacion = request::getInstance()->getPost(insumoTableClass::getNameField(insumoTableClass::FECHA_FABRICACION, true));
$vencimiento = request::getInstance()->getPost(insumoTableClass::getNameField(insumoTableClass::FECHA_VENCIMIENTO, true));
$tipo_insumo = request::getInstance()->getPost(insumoTableClass::getNameField(insumoTableClass::TIPO_INSUMO, true));
$valor = request::getInstance()->getPost(insumoTableClass::getNameField(insumoTableClass::VALOR, true));
insumoTableClass::validateEdit($tipo_insumo, $nombre, $fabricacion, $vencimiento, $valor);
$ids = array(insumoTableClass::ID => $id);
$data = array(insumoTableClass::NOMBRE => $nombre, insumoTableClass::FECHA_FABRICACION => $fabricacion, insumoTableClass::FECHA_VENCIMIENTO => $vencimiento, insumoTableClass::TIPO_INSUMO => $tipo_insumo, insumoTableClass::VALOR => $valor);
insumoTableClass::update($ids, $data);
session::getInstance()->setSuccess(i18n::__('succesUpdate', null, 'insumo'));
log::register(i18n::__('update'), insumoTableClass::getNameTable());
routing::getInstance()->redirect('insumo', 'index');
} else {
log::register(i18n::__('update'), insumoTableClass::getNameTable(), i18n::__('errorUpdateBitacora'));
session::getInstance()->setError(i18n::__('errorUpdate'));
routing::getInstance()->redirect('insumo', 'index');
}
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例2: execute
public function execute()
{
try {
$where = null;
// if (request::getInstance()->hasRequest('filter')) {
$report = request::getInstance()->getPost('filter');
if (isset($report['numero']) and $report['numero'] !== null and $report['numero'] !== '') {
$where[registroPartoTableClass::getNameTable() . '.' . registroPartoTableClass::ANIMAL_ID] = $report['numero'];
}
//close if
$fields = array(registroPartoTableClass::ID, registroPartoTableClass::FECHA_NACIMIENTO, registroPartoTableClass::HEMBRAS_NACIDAS_VIVAS, registroPartoTableClass::MACHOS_NACIDOS_VIVOS, registroPartoTableClass::NACIDOS_MUERTOS);
$fields2 = array(animalTableClass::NUMERO);
// $fields3 = array (
// razaTableClass::NOMBRE_RAZA
// );
$fJoin1 = registroPartoTableClass::ANIMAL_ID;
$fJoin2 = animalTableClass::ID;
// $fJoin3 = registroPartoTableClass::RAZA_ID;
// $fJoin4 = razaTableClass::ID;
$orderBy = array(registroPartoTableClass::ID);
// $this->objEmpleado = empleadoTableClass::getAll($fields2, false);
$this->objParto = registroPartoTableClass::getAllJoin($fields, $fields2, null, null, $fJoin1, $fJoin2, null, null, null, null, false, $orderBy, 'ASC', null, null, $where);
$this->mensaje = 'Registros de Partos de la Cerda';
$this->defineView('index', 'registroParto', session::getInstance()->getFormatOutput());
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例3: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST')) {
$id = request::getInstance()->getPost(detalleEntradaBodegaTableClass::getNameField(detalleEntradaBodegaTableClass::ID, true));
$id_registro = request::getInstance()->getPost(detalleEntradaBodegaTableClass::getNameField(detalleEntradaBodegaTableClass::ID_ENTRADA, true));
$tipo_insumo = request::getInstance()->getPost(detalleEntradaBodegaTableClass::getNameField(detalleEntradaBodegaTableClass::TIPO_INSUMO, true));
$insumo = request::getInstance()->getPost(detalleEntradaBodegaTableClass::getNameField(detalleEntradaBodegaTableClass::ID_INSUMO, true));
$cantidad = request::getInstance()->getPost(detalleEntradaBodegaTableClass::getNameField(detalleEntradaBodegaTableClass::CANDITDAD, true));
$PATH_INFO = request::getInstance()->getPost('PATH_INFO');
detalleEntradaBodegaTableClass::validateUpdate($tipo_insumo, $insumo, $cantidad);
$ids = array(detalleEntradaBodegaTableClass::ID => $id);
detalleEntradaBodegaTableClass::validateUpdate($tipo_insumo, $insumo, $cantidad);
$data = array(detalleEntradaBodegaTableClass::TIPO_INSUMO => $tipo_insumo, detalleEntradaBodegaTableClass::ID_INSUMO => $insumo, detalleEntradaBodegaTableClass::CANDITDAD => $cantidad);
detalleEntradaBodegaTableClass::update($ids, $data);
// session::getInstance()->setSuccess(i18n::__('succesUpdate',null,'detalleVacunacion'));
log::register(i18n::__('update'), detalleEntradaBodegaTableClass::getNameTable());
// routing::getInstance()->getUrlWeb('vacunacion', 'indexVacunacion', array('id' => $id_registro));
}
//close if
$dir = config::getUrlBase() . config::getIndexFile() . $PATH_INFO . '?' . 'id' . '=' . $id_registro;
header('location: ' . $dir);
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例4: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST')) {
$usuario = request::getInstance()->getPost('inputUser');
$password = request::getInstance()->getPost('inputPassword');
if (($objUsuario = usuarioTableClass::verifyUser($usuario, $password)) !== false) {
hook\security\securityHookClass::login($objUsuario);
if (request::getInstance()->hasPost('chkRememberMe') === true) {
$chkRememberMe = request::getInstance()->getPost('chkRememberMe');
$hash = md5($objUsuario[0]->id_usuario . $objUsuario[0]->usuario . date(config::getFormatTimestamp()));
$data = array(recordarMeTableClass::USUARIO_ID => $objUsuario[0]->id_usuario, recordarMeTableClass::HASH_COOKIE => $hash, recordarMeTableClass::IP_ADDRESS => request::getInstance()->getServer('REMOTE_ADDR'), recordarMeTableClass::CREATED_AT => date(config::getFormatTimestamp()));
recordarMeTableClass::insert($data);
setcookie(config::getCookieNameRememberMe(), $hash, time() + config::getCookieTime(), config::getCookiePath());
}
log::register('identificacion', 'NINGUNA');
hook\security\securityHookClass::redirectUrl();
} else {
session::getInstance()->setError('Usuario y contraseña incorrectos');
routing::getInstance()->redirect(config::getDefaultModuleSecurity(), config::getDefaultActionSecurity());
}
} else {
routing::getInstance()->redirect(config::getDefaultModule(), config::getDefaultAction());
}
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例5: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST')) {
$idsToDelete = request::getInstance()->getPost('chk');
foreach ($idsToDelete as $id) {
$ids = array(vacunacionTableClass::ID => $id);
$idsDetalle = array(detalleVacunacionTableClass::ID_REGISTRO => $id);
vacunacionTableClass::delete($ids, true);
detalleVacunacionTableClass::delete($idsDetalle, true);
}
//close foreach
session::getInstance()->setSuccess(i18n::__('succesInhabilMasive', null, 'vacunacion'));
log::register(i18n::__('borrar seleccion'), vacunacionTableClass::getNameTable());
routing::getInstance()->redirect('vacunacion', 'indexVacunacion');
} else {
session::getInstance()->setError('mal');
routing::getInstance()->redirect('vacunacion', 'indexVacunacion');
}
//close if
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例6: execute
public function execute()
{
try {
$where = null;
if (request::getInstance()->hasRequest('filter')) {
$report = request::getInstance()->getPost('filter');
if (isset($report['numero']) and $report['numero'] !== null and $report['numero'] !== '') {
$where[carneVacunasTableClass::getNameTable() . '.' . carneVacunasTableClass::ANIMAL] = $report['numero'];
}
//close if
}
//close if
$fields = array(carneVacunasTableClass::ID, carneVacunasTableClass::ACCION, carneVacunasTableClass::DOSIS, carneVacunasTableClass::FECHA_VACUNACION);
$fields2 = array(animalTableClass::NUMERO);
$fields3 = array(veterinarioTableClass::NOMBRE);
$fields4 = array(vacunaTableClass::NOMBRE_VACUNA);
$fJoin1 = carneVacunasTableClass::ANIMAL;
$fJoin2 = animalTableClass::ID;
$fJoin3 = carneVacunasTableClass::VACUNA;
$fJoin4 = vacunaTableClass::ID;
$fJoin5 = carneVacunasTableClass::VETERINARIO;
$fJoin6 = veterinarioTableClass::ID;
$orderBy = array(carneVacunasTableClass::FECHA_VACUNACION);
$this->objCarne = carneVacunasTableClass::getAllJoin($fields, $fields2, $fields3, $fields4, $fJoin1, $fJoin2, $fJoin3, $fJoin4, $fJoin5, $fJoin6, false, $orderBy, 'ASC', null, null, $where);
$this->mensaje = 'Carnet de Vacunas del Cerdo';
log::register(i18n::__('reporte'), carneVacunasTableClass::getNameTable());
$this->defineView('indexVacunacion', 'animal', session::getInstance()->getFormatOutput());
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例7: execute
public function execute()
{
try {
$fecha = request::getInstance()->getPost(procesoVentaTableClass::getNameField(procesoVentaTableClass::FECHA_HORA_VENTA, true));
$empleado = request::getInstance()->getPost(procesoVentaTableClass::getNameField(procesoVentaTableClass::EMPLEADO_ID, true));
$cliente = request::getInstance()->getPost(procesoVentaTableClass::getNameField(procesoVentaTableClass::CLIENTE_ID, true));
$animal = request::getInstance()->getPost(procesoVentaTableClass::getNameField(procesoVentaTableClass::ANIMAL, true));
$peso = request::getInstance()->getPost(procesoVentaTableClass::getNameField(procesoVentaTableClass::PESO, true));
$valor = request::getInstance()->getPost(procesoVentaTableClass::getNameField(procesoVentaTableClass::VALOR, true));
$subtotal = $peso * $valor;
procesoVentaTableClass::validateCreate($fecha, $empleado, $cliente);
$data = array(procesoVentaTableClass::CLIENTE_ID => $cliente, procesoVentaTableClass::EMPLEADO_ID => $empleado, procesoVentaTableClass::FECHA_HORA_VENTA => $fecha, procesoVentaTableClass::ANIMAL => $animal, procesoVentaTableClass::PESO => $peso, procesoVentaTableClass::VALOR => $valor, procesoVentaTableClass::SUBTOTAL => $subtotal);
//Manejo de inventario
$fieldsAnimal = array(animalTableClass::NUMERO, animalTableClass::ID);
$whereInventario = array(animalTableClass::ID => $animal);
$objAnimal = animalTableClass::getAll($fieldsAnimal, true, null, null, null, null, $whereInventario);
procesoVentaTableClass::validateInventario($objAnimal[0]->id);
$fieldsAnimalDelete = array(animalTableClass::ID => $objAnimal[0]->id);
animalTableClass::delete($fieldsAnimalDelete, true);
procesoVentaTableClass::insert($data);
session::getInstance()->setSuccess(i18n::__('succesCreate', null, 'facturaVenta'));
log::register(i18n::__('create'), procesoVentaTableClass::getNameTable());
routing::getInstance()->redirect('factura', 'indexFacturaVenta');
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例8: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST')) {
$nombre = request::getInstance()->getPost(credencialTableClass::getNameField(credencialTableClass::NOMBRE, true));
// $fields = array(
// credencialTableClass::NOMBRE
// );
// $objCreden = credencialTableClass::getAll($fields);
$data = array(credencialTableClass::NOMBRE => $nombre);
credencialTableClass::insert($data);
credencialTableClass::validatCreate($nombre);
session::getInstance()->setSuccess(i18n::__('succesCreate', null, 'default'));
log::register(i18n::__('create'), credencialTableClass::getNameTable());
routing::getInstance()->redirect('usuario', 'indexCredencial');
} else {
log::register(i18n::__('create'), credencialTableClass::getNameTable(), i18n::__('errorCreateBitacora'));
session::getInstance()->setError(i18n::__('errorCreate', null, 'default'));
routing::getInstance()->redirect('usuario', 'indexCredencial');
}
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例9: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST') and request::getInstance()->isAjaxRequest()) {
$id = request::getInstance()->getPost(usuarioTableClass::getNameField(usuarioTableClass::ID, true));
//$observacion = request::getInstance()->getPost(usuarioTableClass::getNameField(usuarioTableClass::OBSERVACION, true));
$ids = array(usuarioTableClass::ID => $id);
$idDato = array(datosUsuarioTableClass::USUARIO_ID => $id);
datosUsuarioTableClass::delete($idDato, true);
usuarioTableClass::delete($ids, true);
$this->arrayAjax = array('code' => 11, 'msg' => 'La eliminacion ha sido exitosa');
$this->defineView('delete', 'usuario', session::getInstance()->getFormatOutput());
log::register(i18n::__('delete'), usuarioTableClass::getNameTable());
session::getInstance()->setSuccess(i18n::__('succesDelete', null, 'user'));
} else {
session::getInstance()->setError(i18n::__('errorDelete', null, 'user'));
routing::getInstance()->redirect('usuario', 'index');
}
//close if
} catch (PDOException $exc) {
echo $exc->getMessage();
echo '<br>';
echo '<pre>';
print_r($exc->getTrace());
echo '</pre>';
}
}
示例10: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST')) {
$nombre = request::getInstance()->getPost(loteTableClass::getNameField(loteTableClass::NOMBRE, true));
// $caracteres = validator::getInstance()->validatorCharactersSpecial($nombre);
//
// if ($caracteres == true) {
// throw new PDOException(i18n::__(10005, null, 'errors', null, 10005));
// }
loteTableClass::validatCreate($nombre);
$data = array(loteTableClass::NOMBRE => $nombre);
loteTableClass::insert($data);
session::getInstance()->setSuccess(i18n::__('succesCreate', null, 'lote'));
log::register(i18n::__('create'), loteTableClass::getNameTable());
routing::getInstance()->redirect('animal', 'indexLote');
} else {
log::register(i18n::__('create'), loteTableClass::getNameTable(), i18n::__('errorCreateBitacora'));
session::getInstance()->setError(i18n::__('errorCreate'));
routing::getInstance()->redirect('animal', 'indexLote');
}
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例11: execute
public function execute()
{
try {
if (request::getInstance()->hasRequest(usuarioTableClass::ID)) {
$fields = array(usuarioTableClass::ID, usuarioTableClass::USER, usuarioTableClass::PASSWORD);
$where = array(usuarioTableClass::ID => request::getInstance()->getRequest(usuarioTableClass::ID));
$this->objUsuario = usuarioTableClass::getAll($fields, true, null, null, null, null, $where);
$this->defineView('edit', 'default', session::getInstance()->getFormatOutput());
} else {
routing::getInstance()->redirect('prestamo', 'insert');
}
// if (request::getInstance()->isMethod('POST')) {
//
// $usuario = request::getInstance()->getPost(usuarioTableClass::getNameField(usuarioTableClass::USUARIO, true));
// $password = request::getInstance()->getPost(usuarioTableClass::getNameField(usuarioTableClass::PASSWORD, true));
//
// if (strlen($usuario) > usuarioTableClass::USUARIO_LENGTH) {
// throw new PDOException(i18n::__(00001, null, 'errors', array(':longitud' => usuarioTableClass::USUARIO_LENGTH)), 00001);
// }
//
// $data = array(
// usuarioTableClass::USUARIO => $usuario,
// usuarioTableClass::PASSWORD => md5($password)
// );
// usuarioTableClass::insert($data);
// routing::getInstance()->redirect('default', 'index');
// } else {
// routing::getInstance()->redirect('default', 'index');
// }
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例12: execute
public function execute()
{
try {
$fields = array(pagoEmpleadosTableClass::ID, pagoEmpleadosTableClass::ID_EMPLEADO, pagoEmpleadosTableClass::NOMBRE, pagoEmpleadosTableClass::FECHA_INICIO, pagoEmpleadosTableClass::FECHA_FIN, pagoEmpleadosTableClass::FECHA_PAGO, pagoEmpleadosTableClass::TOTAL);
$fieldsEmpleado = array(empleadoTableClass::ID, empleadoTableClass::NUMERO_DOC);
$fields2 = array(empleadoTableClass::ID);
$fJoin1 = pagoEmpleadosTableClass::ID_EMPLEADO;
$fJoin2 = empleadoTableClass::ID;
$orderBy = array(pagoEmpleadosTableClass::ID);
$page = 0;
if (request::getInstance()->hasGet('page')) {
$page = request::getInstance()->getGet('page') - 1;
$page = $page * config::getRowGrid();
}
$f = array(pagoEmpleadosTableClass::ID);
$lines = config::getRowGrid();
$this->cntPages = pagoEmpleadosTableClass::getAllCount($f, false, $lines);
if (request::getInstance()->hasGet('page')) {
$this->page = request::getInstance()->getGet('page');
} else {
$this->page = $page;
}
$this->objPago = pagoEmpleadosTableClass::getAllJoin($fields, $fields2, null, null, $fJoin1, $fJoin2, null, null, null, null, false, $orderBy, 'ASC', config::getRowGrid(), $page);
$this->objEmpleado = empleadoTableClass::getAll($fieldsEmpleado, true);
$this->defineView('index', 'pago', session::getInstance()->getFormatOutput());
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例13: execute
public function execute()
{
try {
// $fields = array(
// clienteBaseTableClass::ID,
// clienteBaseTableClass::NUMERO_IDENTIFICACION,
// clienteBaseTableClass::NOMBRE_CLIENTE,
// clienteBaseTableClass::APELLIDO_CLIENTE,
// clienteBaseTableClass::CELULAR_CLIENTE,
// clienteBaseTableClass::TELEFONO_CLIENTE,
// clienteBaseTableClass::CORREO_CLIENTE,
// clienteBaseTableClass::DIRECCION_CLIENTE,
// clienteBaseTableClass::FECHA_NACIMIENTO_CLIENTE,
// clienteBaseTableClass::USUARIO_ID,
// );
$fields2 = array(tipo_documentoTableClass::ID, tipo_documentoTableClass::DESC_DOCUMENTO);
$fields1 = array(localidadTableClass::ID, localidadTableClass::NOMBRE);
//
// //$fields3 = array(
// usuarioTableClass::ID,
// usuarioTableClass::PASSWORD,
// usuarioTableClass::LAST_LOGIN_AT
// );
$this->objLocalidad = localidadTableClass::getAll($fields1);
$this->objTipo_documento = tipo_documentoTableClass::getAll($fields2);
// $this->objUsuario= usuarioTableClass::getAll($fields3);
$this->defineView('cliente', 'cliente', session::getInstance()->getFormatOutput());
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}
示例14: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST') and request::getInstance()->hasPost('chk')) {
$idsToDelete = request::getInstance()->getPost('chk');
foreach ($idsToDelete as $id) {
$ids = array(usuarioTableClass::ID => $id);
$idsData = array(datosUsuarioTableClass::USUARIO_ID => $id);
}
datosUsuarioTableClass::delete($idsData, true);
usuarioTableClass::delete($ids, true);
session::getInstance()->setSuccess(i18n::__('succesDeleteMasivo', null, 'user'));
routing::getInstance()->redirect('usuario', 'indexUsuario');
} else {
session::getInstance()->setError(i18n::__('errorDeleteMasivo', null, 'user'));
routing::getInstance()->redirect('usuario', 'index');
}
} catch (PDOException $exc) {
echo $exc->getMessage();
echo '<br>';
echo '<pre>';
print_r($exc->getTrace());
echo '</pre>';
}
}
示例15: execute
public function execute()
{
try {
if (request::getInstance()->isMethod('POST')) {
$id = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::ID, true));
$TIPO_DOCUMENTO_ID = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::TIPO_DOCUMENTO_ID, true));
$IDENTIFICACION = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::IDENTIFICACION, true));
$NOMBRE = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::NOMBRE, true));
$APELLIDO = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::APELLIDO, true));
$CELULAR = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::CELULAR, true));
$TELEFONO = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::TELEFONO, true));
$DIRECCION = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::DIRECCION, true));
$CORREO = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::CORREO, true));
$FECHA_NACIMIENTO = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::FECHA_NACIMIENTO, true));
$LOCALIDAD_ID = request::getInstance()->getPost(clienteTableClass::getNameField(clienteTableClass::LOCALIDAD_ID, true));
// $USUARIO_ID = request::getInstance()->getPost(codeudorTableClass::getNameField(clienteTableClass::USUARIO_ID, true));
$id = array(clienteTableClass::ID => $id);
$data = array(clienteBaseTableClass::TIPO_DOCUMENTO_ID => $TIPO_DOCUMENTO_ID, clienteBaseTableClass::IDENTIFICACION => $IDENTIFICACION, clienteBaseTableClass::NOMBRE => $NOMBRE, clienteBaseTableClass::APELLIDO => $APELLIDO, clienteBaseTableClass::CELULAR => $CELULAR, clienteBaseTableClass::TELEFONO => $TELEFONO, clienteBaseTableClass::CORREO => $CORREO, clienteBaseTableClass::DIRECCION => $DIRECCION, clienteBaseTableClass::FECHA_NACIMIENTO => $FECHA_NACIMIENTO, clienteBaseTableClass::LOCALIDAD_ID => $LOCALIDAD_ID);
clienteTableClass::update($id, $data);
}
session::getInstance()->setSuccess('El registro fue modificado exitosamente');
routing::getInstance()->redirect('@cliente_lista');
//$this->defineView('editBanco', 'banco', session::getInstance()->getFormatOutput());
} catch (PDOException $exc) {
session::getInstance()->setFlash('exc', $exc);
routing::getInstance()->forward('shfSecurity', 'exception');
}
}