Zmiany pomiędzy wersją 1 and wersją 2 dla DeployerGuide/Others/eDokumentyApi/SetFileMetaText

Pokaż
Ignoruj:
Data i czas:
02/08/12 13:59:30 (12 years temu)
Autor:
TS (IP: 213.227.67.33)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • DeployerGuide/Others/eDokumentyApi/SetFileMetaText

    v1 v2  
    4949$client->__setSoapHeaders($header); 
    5050 
    51 // Tworzy kontakt 
    52 $contid = NULL; 
     51$fileid = 9987; 
     52$meta = 'Meta Info'; 
     53$out = NULL; 
    5354 
     55try { 
     56    $out = $client->setFileMetaText($fileid, $meta); 
     57    var_dump($out); 
     58} catch(SoapFault $fault) { 
     59    var_dump($fault); 
    5460 
     61    if ($fault->faultcode < 100) { 
     62        trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 
     63    } 
     64} 
    5565 
    5666?>