Lines Matching refs:target

216 	function copyUserData(&$target, &$source)  argument
219 $target['user_id'] = $source['user_id'];
220 $target['user_name'] = $source['username'];
221 $target['user_loginname'] = $source['username'];
222 $target['user_password'] = $this->convertPassword($source['user_password']);
223 $target['user_email'] = $source['user_email'];
224 $target['user_signature'] = $this->convertText($source['user_sig']);
225 $target['user_image'] = $source['user_avatar'];
226 $target['user_hideemail'] = $source['user_allow_viewemail'];
227 $target['user_join'] = $source['user_regdate'];
228 $target['user_lastvisit'] = $source['user_lastvisit'];
229 $target['user_currentvisit'] = 0;
230 $target['user_admin'] = 0; // $source['user_level'];
231 $target['user_lastpost'] = $source['user_lastpost_time'];
232 $target['user_chats'] = '';
233 $target['user_comments'] = '';
234 $target['user_ip'] = $source['user_ip'];
235 $target['user_ban'] = $this->convertUserBan($source['user_type']);
236 $target['user_prefs'] = '';
237 $target['user_visits'] = '';
238 …$target['user_admin'] = ($source['group_id'] == 5 || $source['user_type']==3) ? 1 : 0 ; //user_…
239 $target['user_login'] = '';
240 $target['user_class'] = $this->convertUserclass($source['group_id']);
241 $target['user_perms'] = ($source['user_type']==3) ? '0' : '';
242 $target['user_realm'] = '';
243 $target['user_pwchange'] = $source['user_passchg'];
244 $target['user_xup'] = '';
248 $target['user_plugin_forum_viewed'] = 0;
249 $target['user_plugin_forum_posts'] = $source['user_posts'];
250 $target['user_timezone'] = $source['user_timezone']; // source is decimal(5,2)
251 …$target['user_language'] = e107::getLanguage()->convert($source['user_lang']); // convert from …
252 $target['user_location'] = $source['user_from'];
253 $target['user_icq'] = $source['user_icq'];
254 $target['user_aim'] = $source['user_aim'];
255 $target['user_yahoo'] = $source['user_yim'];
256 $target['user_msn'] = $source['user_msnm'];
257 $target['user_homepage'] = $source['user_website'];
258 $target['user_birthday'] = $this->convertBirthday($source['user_birthday']);
259 $target['user_occupation'] = $source['user_occ'];
260 $target['user_interests'] = $source['user_interests'];
263 return $target;
274 function copyForumData(&$target, &$source) argument
276 $target['forum_id'] = $source['forum_id'];
277 $target['forum_name'] = $source['forum_name'];
278 $target['forum_description'] = $source['forum_desc'];
279 $target['forum_parent'] = $source['parent_id'];
280 $target['forum_sub'] = "";
281 $target['forum_datestamp'] = time();
282 $target['forum_moderators'] = "";
284 $target['forum_threads'] = $source['forum_topics'];
285 $target['forum_replies'] = $source['forum_posts'];
286 $target['forum_lastpost_user'] = $source['forum_last_poster_id'];
287 $target['forum_lastpost_user_anon'] = $source['forum_last_poster_name'];
288 $target['forum_lastpost_info'] = $source['forum_last_post_time'];
296 return $target;
304 function copyForumThreadData(&$target, &$source) argument
307 $target['thread_id'] = $source['topic_id'];
308 $target['thread_name'] = $source['topic_title'];
309 $target['thread_forum_id'] = $source['forum_id'];
310 $target['thread_views'] = $source['topic_views'];
312 $target['thread_lastpost'] = $source['topic_last_post_time'];
313 $target['thread_sticky'] = $source['topic_time_limit'];
314 $target['thread_datestamp'] = $source['topic_time'];
315 $target['thread_user'] = $source['topic_poster'];
316 $target['thread_user_anon'] = $source['topic_first_poster_name'];
317 $target['thread_lastuser'] = $source['topic_last_poster_id'];
318 $target['thread_lastuser_anon'] = $source['topic_last_poster_name'];
319 $target['thread_total_replies'] = $source['topic_replies'];
322 return $target;
330 function copyForumPostData(&$target, &$source) argument
332 $target['post_id'] = $source['post_id'];
333 $target['post_entry'] = $this->convertText($source['post_text']);
334 $target['post_thread'] = $source['topic_id'];
335 $target['post_forum'] = $source['forum_id'];
337 $target['post_datestamp'] = $source['post_time'];
338 $target['post_user'] = $source['poster_id'];
339 $target['post_edit_datestamp'] = $source['post_edit_time'];
340 $target['post_edit_user'] = $source['post_edit_user'];
341 $target['post_ip'] = $source['poster_ip'];
343 $target['post_attachments'] = $this->convertAttachment($source);
347 return $target;
356 function copyForumTrackData(&$target, &$source) argument
358 $target['track_userid'] = $source['user_id'];
359 $target['track_thread'] = $source['forum_id'];
361 return $target;
474 function convertForumParent(&$target, &$source) argument
478 $target['forum_id'] = $this->catcount; // Create new IDs for parent forums
479 $target['forum_name'] = $source['cat_title'];
480 $target['forum_order'] = $source['cat_order'];
481 $target['forum_description'] = $source['cat_desc'];
482 $target['forum_moderators'] = e_UC_ADMIN;
494 function convertForum(&$target, &$source, $catid) argument
498 $target['forum_id'] = $this->catcount;
499 …$target['forum_parent'] = $this->id_map[$source['cat_id']]; // Map to the new E107 ID, rather tha…
500 $target['forum_name'] = $source['forum_name'];
501 $target['forum_description'] = $source['forum_desc'];
502 $target['forum_order'] = $source['forum_order'];
503 $target['forum_threads'] = $source['forum_topics'];
504 $target['forum_replies'] = $source['forum_posts'];
505 $target['forum_moderators'] = e_UC_ADMIN;