@@ -5,7 +5,7 @@ class EduAdminClient
55 {
66 protected $ __server ;
77 public $ debug = false ;
8- public $ timers ;
8+ protected $ timers ;
99
1010 public function __construct ()
1111 {
@@ -14,7 +14,7 @@ public function __construct()
1414 $ this ->__server = new SoapClient (
1515 ServiceUrl,
1616 array (
17- 'trace ' => 1 ,
17+ 'trace ' => 0 ,
1818 'cache_wsdl ' => WSDL_CACHE_BOTH
1919 )
2020 );
@@ -458,6 +458,14 @@ public function GetCompanyAttributeXml($authToken, $sort, $filter) {
458458 return $ this ->__callServer ($ param , 'GetCompanyAttributeXml ' );
459459 }
460460
461+ public function GetCompanyLogoUrl ($ authToken ) {
462+ $ param = array (
463+ 'authToken ' => $ authToken
464+ );
465+
466+ return $ this ->__callServer ($ param , 'GetCompanyLogoUrl ' );
467+ }
468+
461469 public function GetConfirmationEmailMessage ($ authToken , $ eclID , $ documentID ) {
462470 $ param = array (
463471 'authToken ' => $ authToken ,
@@ -1231,6 +1239,16 @@ public function GetEventXml($authToken, $sort, $filter) {
12311239 return $ this ->__callServer ($ param , 'GetEventXml ' );
12321240 }
12331241
1242+ public function GetGetUserLocationXml ($ authToken , $ sort , $ filter ) {
1243+ $ param = array (
1244+ 'authToken ' => $ authToken ,
1245+ 'sort ' => $ sort ,
1246+ 'filter ' => $ filter
1247+ );
1248+
1249+ return $ this ->__callServer ($ param , 'GetGetUserLocationXml ' );
1250+ }
1251+
12341252 public function GetGrade ($ authToken , $ sort , $ filter ) {
12351253 $ param = array (
12361254 'authToken ' => $ authToken ,
@@ -1753,6 +1771,16 @@ public function GetUserAttributeXml($authToken, $sort, $filter) {
17531771 return $ this ->__callServer ($ param , 'GetUserAttributeXml ' );
17541772 }
17551773
1774+ public function GetUserLocation ($ authToken , $ sort , $ filter ) {
1775+ $ param = array (
1776+ 'authToken ' => $ authToken ,
1777+ 'sort ' => $ sort ,
1778+ 'filter ' => $ filter
1779+ );
1780+
1781+ return $ this ->__getArray ('UserLocation ' , $ this ->__callServer ($ param , 'GetUserLocation ' ))->UserLocation ;
1782+ }
1783+
17561784 public function GetValidCoupons ($ authToken , $ objectID , $ categoryID ) {
17571785 $ param = array (
17581786 'authToken ' => $ authToken ,
@@ -2396,7 +2424,9 @@ private function __callServer($params, $methodName)
23962424 if ($ this ->debug )
23972425 $ this ->__debug ();
23982426 $ this ->timers [$ methodName . '__callServer ' ] = microtime (true ) - $ this ->timers [$ methodName . '__callServer ' ];
2399- return $ result ->{$ methodName/*$d*/ . 'Result ' };
2427+ if (isset ($ result ->{$ methodName/*$d*/ . 'Result ' }))
2428+ return $ result ->{$ methodName/*$d*/ . 'Result ' };
2429+ return null ;
24002430 }
24012431
24022432 private function __debug ($ result = null )
@@ -2707,6 +2737,8 @@ class CertificatePersonV2 {
27072737 var $ CertificateFromEventIDs ;
27082738 var $ CertificateFromPersonCertificateIDs ;
27092739 var $ Subjects ;
2740+ var $ CertificateAfterRetest ;
2741+ var $ CertificatePersonComment ;
27102742 var $ PersonID ;
27112743 var $ PersonFirstName ;
27122744 var $ PersonLastName ;
@@ -2727,6 +2759,7 @@ function __construct() {
27272759 $ this ->CertificateFromEventIDs = array ();
27282760 $ this ->CertificateFromPersonCertificateIDs = array ();
27292761 $ this ->Subjects = array ();
2762+ $ this ->CertificateAfterRetest = null ;
27302763 $ this ->PersonID = 0 ;
27312764 $ this ->CustomerID = 0 ;
27322765 $ this ->CertificateID = 0 ;
@@ -2803,6 +2836,7 @@ function __construct() {
28032836class Coupon {
28042837 var $ CouponID ;
28052838 var $ Code ;
2839+
28062840 var $ DiscountPercent ;
28072841 var $ CouponDescription ;
28082842 var $ ValidFrom ;
@@ -2853,7 +2887,6 @@ function __construct() {
28532887 }
28542888}
28552889
2856-
28572890class CustomerAttribute {
28582891 var $ CustomerID ;
28592892 var $ CustomerAttributeID ;
@@ -3077,7 +3110,7 @@ function __construct() {
30773110 $ this ->CanLogin = null ;
30783111 $ this ->DiscountPercent = null ;
30793112 $ this ->ParticipantDiscountPercent = null ;
3080- $ this ->NotCreditworthy = false ;
3113+ $ this ->NotCreditworthy = null ;
30813114 $ this ->CustomerID = 0 ;
30823115 $ this ->CustomerGroupID = null ;
30833116 $ this ->VatFree = null ;
@@ -4465,6 +4498,17 @@ function __construct() {
44654498 }
44664499}
44674500
4501+ class UserLocation {
4502+ var $ UserID ;
4503+ var $ LocationID ;
4504+
4505+ function __construct () {
4506+ $ this ->UserID = 0 ;
4507+ $ this ->LocationID = 0 ;
4508+ }
4509+ }
4510+
4511+
44684512class XFilter
44694513{
44704514 var $ FilterName = '' ;
0 commit comments