Changeset 8244 for trunk/xmlrpc/BxDolXMLRPCSearch.php
- Timestamp:
- 01/05/09 02:48:29 (3 years ago)
- File:
-
- 1 edited
-
trunk/xmlrpc/BxDolXMLRPCSearch.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc/BxDolXMLRPCSearch.php
r8238 r8244 3 3 class BxDolXMLRPCSearch 4 4 { 5 function getSearchResultsLocation($sUser, $sPwd, $s CountryCode, $sCity, $isOnlineOnly, $isWithPhotosOnly, $iStart, $iPP)5 function getSearchResultsLocation($sUser, $sPwd, $sLang, $sCountryCode, $sCity, $isOnlineOnly, $isWithPhotosOnly, $iStart, $iPP) 6 6 { 7 7 if (!($iId = BxDolXMLRPCUtil::checkLogin ($sUser, $sPwd))) 8 8 return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "scruct")); 9 10 BxDolXMLRPCUtil::setLanguage ($sLang); 9 11 10 12 $sWhere = ''; … … 39 41 } 40 42 41 function getSearchResultsKeyword($sUser, $sPwd, $s Keyword, $isOnlineOnly, $isWithPhotosOnly, $iStart, $iPP)43 function getSearchResultsKeyword($sUser, $sPwd, $sLang, $sKeyword, $isOnlineOnly, $isWithPhotosOnly, $iStart, $iPP) 42 44 { 43 45 if (!($iId = BxDolXMLRPCUtil::checkLogin ($sUser, $sPwd))) 44 46 return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "scruct")); 47 48 BxDolXMLRPCUtil::setLanguage ($sLang); 45 49 46 50 $sMatch = ''; … … 71 75 72 76 while ($aRow = mysql_fetch_array ($r)) 73 $aProfiles[] = new xmlrpcval(BxDolXMLRPCUtil::fillProfileArray($aRow, ' icon'), 'struct');77 $aProfiles[] = new xmlrpcval(BxDolXMLRPCUtil::fillProfileArray($aRow, 'thumb'), 'struct'); 74 78 75 79 return new xmlrpcval ($aProfiles, "array");
Note: See TracChangeset
for help on using the changeset viewer.