public function execute()
 {
     $config = $this->getConfig();
     $tipoId = new tipoIdTable($config);
     $this->objTipoId = $tipoId->getAll();
     $this->defineView('tipoId', 'index', 'html');
 }
 public function execute()
 {
     $config = $this->getConfig();
     $cargo = new cargoTable($config);
     $this->objcargo = $cargo->getAll();
     $tipoId = new tipoIdTable($config);
     $this->objTipoId = $tipoId->getAll();
     $tipoTercero = new tipoTerceroTable($config);
     $this->objTipoTercero = $tipoTercero->getAll();
     $this->defineView('tercero', 'nuevoView', 'html');
 }
 public function execute()
 {
     $config = $this->getConfig();
     $cargo = new cargoTable($config);
     $this->objcargo = $cargo->getAll();
     $tipoId = new tipoIdTable($config);
     $this->objTipoId = $tipoId->getAll();
     $tipoTercero = new tipoTerceroTable($config);
     $this->objTipoTercero = $tipoTercero->getAll();
     $id = filter_input(INPUT_GET, 'id');
     $tercero = new terceroTable($config);
     $this->objtercero = $tercero->getById($id);
     $this->defineView('tercero', 'verView', 'html');
 }
 public function execute()
 {
     $config = $this->getConfig();
     $cargo = new cargoTable($config);
     $this->objcargo = $cargo->getAll();
     $tipoId = new tipoIdTable($config);
     $this->objTipoId = $tipoId->getAll();
     $tipoTercero = new tipoTerceroTable($config);
     $this->objTipoTercero = $tipoTercero->getAll();
     $id = filter_input(INPUT_GET, 'id');
     $tercero = new terceroTable($config);
     $this->objtercero = $tercero->getById($id);
     //    $variables = array (
     //        'objPersona'=>$objPersona
     //    );
     $this->defineView('tercero', 'editarView', 'html');
 }
 public function execute()
 {
     $config = $this->getConfig();
     $cargo = new cargoTable($config);
     $this->objcargo = $cargo->getAll();
     $tipoId = new tipoIdTable($config);
     $this->objTipoId = $tipoId->getAll();
     $tipoTercero = new tipoTerceroTable($config);
     $this->objTipoTercero = $tipoTercero->getAll();
     $metodo = new terceroTable($config);
     $paginacion = new Zebra_Pagination();
     $this->objRespuesta = $metodo->total();
     $respuesta = $this->objRespuesta[0];
     $resultado = 5;
     $pagina = ($paginacion->get_page() - 1) * $resultado;
     $indicio = filter_input(INPUT_POST, 'filtro');
     if (empty($indicio)) {
         $this->objMetodo = $metodo->pager($resultado, $pagina);
     } else {
         $this->objFiltro = $metodo->filtro($indicio);
         $this->objMetodo = $this->objFiltro;
     }
     $this->defineView('tercero', 'index', 'html');
 }