File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,17 @@ function setHash(string $hash){
2222 $ this ->hash = $ hash ;
2323 }
2424
25+ function getDatiFornitore ($ email ){
26+ $ data = $ this ->connect ("fornitori/ $ email " , "GET " , []);
27+ return $ data ;
28+ }
29+
30+ function getFornitori (){
31+ $ data = $ this ->connect ("fornitori " , "GET " , []);
32+ return $ data ;
33+
34+ }
35+
2536 function getFormTool (){
2637 if ($ this ->hash == NULL ){
2738 throw new \OpenApi \classes \exception \OpenApiVisEngineException ("Visengine hash is not setted " ,40005 );
Original file line number Diff line number Diff line change @@ -22,11 +22,18 @@ function __construct($visura)
2222 $ this ->ricerche = [];
2323 $ this ->document = NULL ;
2424 $ this ->format_errror = [];
25+ $ this ->fornitore = [];
2526 foreach ($ visura ->data ->json_struttura ->campi as $ k => $ v ){
2627 $ this ->variables [$ k ] = FALSE ;
2728 }
2829 }
2930
31+ function setFornitore ($ fornitore ){
32+ $ this ->fornitore = $ fornitore ;
33+ }
34+ function getFornitore (){
35+ return $ this ->fornitore ;
36+ }
3037 function setNew (bool $ new ){
3138 return $ this ->new = $ new ;
3239 }
You can’t perform that action at this time.
0 commit comments