예제 #1
0
 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');
 }
예제 #2
0
 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');
 }