10 include(
"../inc/header.inc.php");
11 require_once(CH_DIRECTORY_PATH_INC .
'admin.inc.php');
13 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCUtil.php');
14 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCUser.php');
15 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCMessages.php');
16 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCSearch.php');
17 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCFriends.php');
18 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCMedia.php');
19 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCImages.php');
20 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCMediaAudio.php');
21 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCMediaVideo.php');
23 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/ChWsbXMLRPCProfileView.php');
25 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/lib/xmlrpc.inc');
26 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/lib/xmlrpcs.inc');
27 require_once(CH_DIRECTORY_PATH_ROOT .
'xmlrpc/lib/xmlrpc_wrappers.inc');
34 "cheetah.concat" => array(
35 "function" =>
"ChWsbXMLRPCUtil::concat",
36 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString)),
37 "docstring" =>
"concat two strings",
40 "cheetah.getContacts" => array(
41 "function" =>
"ChWsbXMLRPCUtil::getContacts",
42 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString)),
43 "docstring" =>
"get user contacts",
46 "cheetah.getCountries" => array(
47 "function" =>
"ChWsbXMLRPCUtil::getCountries",
48 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
49 "docstring" =>
"get countries list",
52 "cheetah.service" => array(
53 "function" =>
"ChWsbXMLRPCUtil::service",
54 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcArray, $xmlrpcString)),
55 "docstring" =>
"perform serice call",
60 "cheetah.login" => array(
61 "function" =>
"ChWsbXMLRPCUser::login",
62 "signature" => array (array ($xmlrpcInt, $xmlrpcString, $xmlrpcString)),
63 "docstring" =>
"returns user id on success or 0 if login failed",
65 "cheetah.login2" => array(
66 "function" =>
"ChWsbXMLRPCUser::login2",
67 "signature" => array (array ($xmlrpcInt, $xmlrpcString, $xmlrpcString)),
68 "docstring" =>
"returns user id on success or 0 if login failed (v.2)",
70 "cheetah.login4" => array(
71 "function" =>
"ChWsbXMLRPCUser::login4",
72 "signature" => array (array ($xmlrpcInt, $xmlrpcString, $xmlrpcString)),
73 "docstring" =>
"returns user id on success or 0 if login failed (v.4)",
75 "cheetah.getHomepageInfo" => array(
76 "function" =>
"ChWsbXMLRPCUser::getHomepageInfo",
77 "signature" => array (array ($xmlrpcStruct, $xmlrpcString, $xmlrpcString)),
78 "docstring" =>
"return logged in user information to dispay on homepage",
80 "cheetah.getHomepageInfo2" => array(
81 "function" =>
"ChWsbXMLRPCUser::getHomepageInfo2",
82 "signature" => array (array ($xmlrpcStruct, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
83 "docstring" =>
"return logged in user information to dispay on homepage (v.2)",
85 "cheetah.getUserInfo" => array(
86 "function" =>
"ChWsbXMLRPCUser::getUserInfo",
87 "signature" => array (array ($xmlrpcStruct, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
88 "docstring" =>
"return user information",
90 "cheetah.getUserInfo2" => array(
91 "function" =>
"ChWsbXMLRPCUser::getUserInfo2",
92 "signature" => array (array ($xmlrpcStruct, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
93 "docstring" =>
"return user information (v.2)",
95 "cheetah.getUserInfoExtra" => array(
96 "function" =>
"ChWsbXMLRPCUser::getUserInfoExtra",
97 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
98 "docstring" =>
"return extended users information",
101 "cheetah.updateStatusMessage" => array(
102 "function" =>
"ChWsbXMLRPCUser::updateStatusMessage",
103 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
104 "docstring" =>
"update user status message, returns 0 on error, or 1 on success",
107 "cheetah.getUserLocation" => array(
108 "function" =>
"ChWsbXMLRPCUser::getUserLocation",
109 "signature" => array (array ($xmlrpcStruct, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
110 "docstring" =>
"get user location, returns struct on succees, 0 on error, -1 on access denied",
113 "cheetah.updateUserLocation" => array(
114 "function" =>
"ChWsbXMLRPCUser::updateUserLocation",
115 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
116 "docstring" =>
"update user location, returns 1 on succees, 0 on error",
121 "cheetah.getMessagesInbox" => array(
122 "function" =>
"ChWsbXMLRPCMessages::getMessagesInbox",
123 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString)),
124 "docstring" =>
"get user's inbox messages",
126 "cheetah.getMessagesSent" => array(
127 "function" =>
"ChWsbXMLRPCMessages::getMessagesSent",
128 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString)),
129 "docstring" =>
"get user's sent messages",
131 "cheetah.getMessageInbox" => array(
132 "function" =>
"ChWsbXMLRPCMessages::getMessageInbox",
133 "signature" => array (array ($xmlrpcStruct, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
134 "docstring" =>
"get user's inbox message",
136 "cheetah.getMessageSent" => array(
137 "function" =>
"ChWsbXMLRPCMessages::getMessageSent",
138 "signature" => array (array ($xmlrpcScruct, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
139 "docstring" =>
"get user's sent message",
142 "cheetah.sendMessage" => array(
143 "function" =>
"ChWsbXMLRPCMessages::sendMessage",
144 "signature" => array (array ($xmlrpcScruct, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
145 "docstring" =>
"send message",
150 "cheetah.getSeachHomeMenu3" => array(
151 "function" =>
"ChWsbXMLRPCSearch::getSeachHomeMenu3",
152 "signature" => array (array ($xmlrpcStruct, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
153 "docstring" =>
"get search homepage menu",
156 "cheetah.getSearchResultsLocation" => array(
157 "function" =>
"ChWsbXMLRPCSearch::getSearchResultsLocation",
158 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
159 "docstring" =>
"get search results by location",
161 "cheetah.getSearchResultsKeyword" => array(
162 "function" =>
"ChWsbXMLRPCSearch::getSearchResultsKeyword",
163 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString,$xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
164 "docstring" =>
"get search results by keyword",
166 "cheetah.getSearchResultsNearMe" => array(
167 "function" =>
"ChWsbXMLRPCSearch::getSearchResultsNearMe",
168 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
169 "docstring" =>
"get search results near specified location",
174 "cheetah.getFriends" => array(
175 "function" =>
"ChWsbXMLRPCFriends::getFriends",
176 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
177 "docstring" =>
"get user's friends",
179 "cheetah.getFriendRequests" => array(
180 "function" =>
"ChWsbXMLRPCFriends::getFriendRequests",
181 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
182 "docstring" =>
"get friend requests",
184 "cheetah.declineFriendRequest" => array(
185 "function" =>
"ChWsbXMLRPCFriends::declineFriendRequest",
186 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
187 "docstring" =>
"decline friend request",
189 "cheetah.acceptFriendRequest" => array(
190 "function" =>
"ChWsbXMLRPCFriends::acceptFriendRequest",
191 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
192 "docstring" =>
"accept friend request",
194 "cheetah.removeFriend" => array(
195 "function" =>
"ChWsbXMLRPCFriends::removeFriend",
196 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
197 "docstring" =>
"remove friend",
199 "cheetah.addFriend" => array(
200 "function" =>
"ChWsbXMLRPCFriends::addFriend",
201 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
202 "docstring" =>
"add friend",
213 "cheetah.removeImage" => array(
214 "function" =>
"ChWsbXMLRPCImages::removeImage",
215 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
216 "docstring" =>
"remove user image by id",
218 "cheetah.makeThumbnail" => array(
219 "function" =>
"ChWsbXMLRPCImages::makeThumbnail",
220 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
221 "docstring" =>
"make primary image by image id",
223 "cheetah.getImageAlbums" => array(
224 "function" =>
"ChWsbXMLRPCImages::getImageAlbums",
225 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
226 "docstring" =>
"get profile's images albums",
228 "cheetah.uploadImage" => array(
229 "function" =>
"ChWsbXMLRPCImages::uploadImage",
230 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcBase64, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
231 "docstring" =>
"upload new image",
233 "cheetah.getImagesInAlbum" => array(
234 "function" =>
"ChWsbXMLRPCImages::getImagesInAlbum",
235 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
236 "docstring" =>
"get profile's images in specified album",
241 "cheetah.removeAudio" => array(
242 "function" =>
"ChWsbXMLRPCMediaAudio::removeAudio5",
243 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
244 "docstring" =>
"remove user sound by id (v.5)",
246 "cheetah.getAudioAlbums" => array(
247 "function" =>
"ChWsbXMLRPCMediaAudio::getAudioAlbums",
248 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
249 "docstring" =>
"get profile's sound albums",
251 "cheetah.getAudioInAlbum" => array(
252 "function" =>
"ChWsbXMLRPCMediaAudio::getAudioInAlbum",
253 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
254 "docstring" =>
"get profile's sounds in specified album",
259 "cheetah.removeVideo" => array(
260 "function" =>
"ChWsbXMLRPCMediaVideo::removeVideo5",
261 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
262 "docstring" =>
"remove user video by id (v.5)",
264 "cheetah.getVideoAlbums" => array(
265 "function" =>
"ChWsbXMLRPCMediaVideo::getVideoAlbums",
266 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
267 "docstring" =>
"get profile's video albums",
269 "cheetah.uploadVideo" => array(
270 "function" =>
"ChWsbXMLRPCMediaVideo::uploadVideo5",
271 "signature" => array (array ($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcBase64, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
272 "docstring" =>
"upload new video (v.5)",
274 "cheetah.getVideoInAlbum" => array(
275 "function" =>
"ChWsbXMLRPCMediaVideo::getVideoInAlbum",
276 "signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
277 "docstring" =>
"get profile's video in specified album",
284 $s->functions_parameters_type =
'phpvals';