Changeset 7682 for trunk/xmlrpc
- Timestamp:
- 11/25/08 10:40:41 (4 years ago)
- Location:
- trunk/xmlrpc
- Files:
-
- 2 edited
-
BxDolXMLRPCServer.php (modified) (1 diff)
-
index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc/BxDolXMLRPCServer.php
r7681 r7682 33 33 } 34 34 35 function getUserInfoExtra($sUser, $sPwd, $sNick) 36 { 37 $iIdProfile = (int)db_value ("SELECT `ID` FROM `Profiles` WHERE `NickName` = '$sNick' LIMIT 1"); 38 if (!$iIdProfile || !($iId = BxDolXMLRPCServer::_checkLogin ($sUser, $sPwd))) 39 return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "scruct")); 35 function getUserInfoExtra($sUser, $sPwd, $sNick, $sLang) 36 { 37 $iIdProfile = (int)db_value ("SELECT `ID` FROM `Profiles` WHERE `NickName` = '$sNick' LIMIT 1"); 38 if (!$iIdProfile || !($iId = BxDolXMLRPCServer::_checkLogin ($sUser, $sPwd))) 39 return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "scruct")); 40 41 BxDolXMLRPCServer::_setLanguage ($sLang); 40 42 41 43 $o = new BxDolXMLRPCProfileView ($iIdProfile); -
trunk/xmlrpc/index.php
r7681 r7682 38 38 "dolphin.getUserInfoExtra" => array( 39 39 "function" => "BxDolXMLRPCServer::getUserInfoExtra", 40 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString )),40 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)), 41 41 "docstring" => "return extended users information", 42 42 ),
Note: See TracChangeset
for help on using the changeset viewer.