29 return new BaseObject(-1,
'msg_invalid_request');
32 $args =
Context::gets(
'member_srl',
'email_address',
'find_account_answer',
'allow_mailing',
'allow_message',
'denied',
'is_admin',
'description',
'group_srl_list',
'limit_date');
33 $oMemberModel = &
getModel (
'member');
34 $config = $oMemberModel->getMemberConfig();
36 if($config->signupForm)
38 foreach($config->signupForm as $formInfo)
40 if($formInfo->isDefaultForm && ($formInfo->isUse || $formInfo->required || $formInfo->mustRequired))
42 $getVars[] = $formInfo->name;
46 foreach($getVars as $val)
53 else unset(
$args->password);
57 unset($all_args->module);
58 unset($all_args->act);
59 unset($all_args->mid);
60 unset($all_args->error_return_url);
61 unset($all_args->success_return_url);
62 unset($all_args->ruleset);
63 unset($all_args->password);
64 unset($all_args->password2);
65 unset($all_args->reset_password);
67 if(!isset(
$args->limit_date))
$args->limit_date =
"";
68 if(!isset(
$args->description))
$args->description =
"";
79 $columnList = array(
'member_srl');
80 $member_info = $oMemberModel->getMemberInfoByMemberSrl(
$args->member_srl, 0, $columnList);
82 if($member_info->member_srl !=
$args->member_srl) unset(
$args->member_srl);
86 $checkInfos = array(
'user_id',
'user_name',
'nick_name',
'email_address');
87 foreach($checkInfos as $val)
89 if(isset(
$args->{$val}))
91 $args->{$val} = preg_replace(
'/[\pZ\pC]+/u',
'', html_entity_decode(
$args->{$val}));
97 if(!
$args->member_srl)
101 $msg_code =
'success_registed';
106 $msg_code =
'success_updated';
112 $oMemberController->putSignature(
$args->member_srl, $signature);
114 $this->add(
'member_srl',
$args->member_srl);
115 $this->setMessage($msg_code);
118 if(is_uploaded_file($profile_image[
'tmp_name']))
120 $output = $oMemberController->insertProfileImage(
$args->member_srl, $profile_image[
'tmp_name']);
125 if(is_uploaded_file($image_mark[
'tmp_name']))
127 $output = $oMemberController->insertImageMark(
$args->member_srl, $image_mark[
'tmp_name']);
132 if (is_uploaded_file($image_name[
'tmp_name']))
134 $output = $oMemberController->insertImageName(
$args->member_srl, $image_name[
'tmp_name']);
139 $this->setRedirectUrl($returnUrl);
152 $output = $oMemberController->deleteMember($member_srl);
156 $this->setMessage(
"success_deleted");
168 'password_hashing_algorithm',
169 'password_hashing_work_factor',
170 'password_hashing_auto_upgrade'
174 if(!array_key_exists(
$args->password_hashing_algorithm, $oPassword->getSupportedAlgorithms()))
176 $args->password_hashing_algorithm =
'md5';
179 $args->password_hashing_work_factor = intval(
$args->password_hashing_work_factor, 10);
180 if(
$args->password_hashing_work_factor < 4)
182 $args->password_hashing_work_factor = 4;
184 if(
$args->password_hashing_work_factor > 16)
186 $args->password_hashing_work_factor = 16;
188 if(
$args->password_hashing_auto_upgrade !=
'Y')
190 $args->password_hashing_auto_upgrade =
'N';
193 if((!
$args->webmaster_name || !
$args->webmaster_email) &&
$args->enable_confirm ==
'Y')
195 return new BaseObject(-1,
'msg_mail_authorization');
202 $this->setMessage(
'success_updated');
205 $this->setRedirectUrl($returnUrl);
215 'limit_day_description',
218 'profile_image',
'profile_image_max_width',
'profile_image_max_height',
'profile_image_max_filesize',
219 'image_name',
'image_name_max_width',
'image_name_max_height',
'image_name_max_filesize',
220 'image_mark',
'image_mark_max_width',
'image_mark_max_height',
'image_mark_max_filesize',
221 'signature_editor_skin',
'sel_editor_colorset'
229 if(!trim(strip_tags(
$args->agreement)))
231 $agreement_file =
_XE_PATH_.
'files/member_extra_info/agreement_' .
Context::get(
'lang_type') .
'.txt';
233 $args->agreement = NULL;
236 if(
$args->redirect_url)
239 $redirectModuleInfo =
$oModuleModel->getModuleInfoByModuleSrl(
$args->redirect_url, array(
'mid'));
241 if(!$redirectModuleInfo)
243 return new BaseObject(
'-1',
'msg_exist_selected_module');
249 $args->profile_image =
$args->profile_image ?
'Y' :
'N';
250 $args->image_name =
$args->image_name ?
'Y' :
'N';
251 $args->image_mark =
$args->image_mark ?
'Y' :
'N';
252 $args->signature =
$args->signature !=
'Y' ?
'N' :
'Y';
253 $args->identifier = $all_args->identifier;
256 $all_args->is_nick_name_public =
'Y';
257 $all_args->is_find_account_question_public =
'N';
261 $signupForm = array();
268 'find_account_question',
273 'profile_image',
'profile_image_max_width',
'profile_image_max_height',
'profile_image_max_filesize',
274 'image_name',
'image_name_max_width',
'image_name_max_height',
'image_name_max_filesize',
275 'image_mark',
'image_mark_max_width',
'image_mark_max_height',
'image_mark_max_filesize',
277 $mustRequireds = array(
'email_address',
'nick_name',
'password',
'find_account_question');
278 $extendItems = $oMemberModel->getJoinFormList();
280 foreach($list_order as $key)
282 $signupItem =
new stdClass();
283 $signupItem->isIdentifier = ($key == $all_args->identifier);
284 $signupItem->isDefaultForm = in_array($key, $items);
285 $signupItem->name = $key;
286 $signupItem->title = (!in_array($key, $items)) ? $key : $lang->{$key};
287 $signupItem->mustRequired = in_array($key, $mustRequireds);
288 $signupItem->imageType = (strpos($key,
'image') !==
false);
289 $signupItem->required = ($all_args->{$key} ==
'required') || $signupItem->mustRequired || $signupItem->isIdentifier;
290 $signupItem->isUse = in_array($key, $usable_list) || $signupItem->required;
291 $signupItem->isPublic = ($all_args->{
'is_'.$key.
'_public'} ==
'Y' && $signupItem->isUse) ?
'Y' :
'N';
293 if($signupItem->imageType)
295 $signupItem->max_width = $all_args->{$key.
'_max_width'};
296 $signupItem->max_height = $all_args->{$key.
'_max_height'};
297 $signupItem->max_filesize = $all_args->{$key.
'_max_filesize'};
298 $signupItem->allow_transparent_thumbnail = $all_args->{$key.
'_transparent_thumbnail'};
302 if(!$signupItem->isDefaultForm)
304 $extendItem = $extendItems[$all_args->{$key.
'_member_join_form_srl'}];
305 $signupItem->type = $extendItem->column_type;
306 $signupItem->member_join_form_srl = $extendItem->member_join_form_srl;
307 $signupItem->title = $extendItem->column_title;
308 $signupItem->description = $extendItem->description;
311 if($signupItem->isUse != ($extendItem->is_active ==
'Y') || $signupItem->required != ($extendItem->required ==
'Y'))
314 $update_args =
new stdClass;
315 $update_args->member_join_form_srl = $extendItem->member_join_form_srl;
316 $update_args->is_active = $signupItem->isUse?
'Y':
'N';
317 $update_args->required = $signupItem->required?
'Y':
'N';
319 $update_output =
executeQuery(
'member.updateJoinForm', $update_args);
324 $signupForm[] = $signupItem;
326 $args->signupForm = $signupForm;
329 $this->_createSignupRuleset($signupForm,
$args->agreement);
330 $this->_createLoginRuleset(
$args->identifier);
331 $this->_createFindAccountByQuestion(
$args->identifier);
336 $agreement_file =
_XE_PATH_.
'files/member_extra_info/agreement_' .
Context::get(
'lang_type') .
'.txt';
339 unset(
$args->agreement);
345 $this->setMessage(
'success_updated');
348 $this->setRedirectUrl($returnUrl);
356 'change_password_date',
357 'enable_login_fail_report',
359 'max_error_count_time',
364 if(!
$args->change_password_date)
366 $args->change_password_date = 0;
369 if(!trim(strip_tags(
$args->after_login_url)))
371 $args->after_login_url = NULL;
373 if(!trim(strip_tags(
$args->after_logout_url)))
375 $args->after_logout_url = NULL;
381 $this->setMessage(
'success_updated');
384 $this->setRedirectUrl($returnUrl);
402 $args->skin =
'default';
406 $args->colorset =
'white';
412 $args->mskin =
'default';
418 $this->setMessage(
'success_updated');
421 $this->setRedirectUrl($returnUrl);
430 $extendItems = $oMemberModel->getJoinFormList();
432 $items = array(
'user_id',
'password',
'user_name',
'nick_name',
'email_address',
'find_account_question',
'homepage',
'blog',
'birthday',
'signature',
'profile_image',
'image_name',
'image_mark');
433 $mustRequireds = array(
'email_address',
'nick_name',
'password',
'find_account_question');
434 $orgRequireds = array(
'email_address',
'password',
'find_account_question',
'user_id',
'nick_name',
'user_name');
435 $orgUse = array(
'email_address',
'password',
'find_account_question',
'user_id',
'nick_name',
'user_name',
'homepage',
'blog',
'birthday');
436 $list_order = array();
438 foreach($items as $key)
441 $signupItem =
new stdClass;
442 $signupItem->isDefaultForm =
true;
443 $signupItem->name = $key;
444 $signupItem->title = $key;
445 $signupItem->mustRequired = in_array($key, $mustRequireds);
446 $signupItem->imageType = (strpos($key,
'image') !==
false);
447 $signupItem->required = in_array($key, $orgRequireds);
448 $signupItem->isUse = ($config->{$key} ==
'Y') || in_array($key, $orgUse);
449 $signupItem->isPublic = ($signupItem->isUse) ?
'Y' :
'N';
450 if(in_array($key, array(
'find_account_question',
'password',
'email_address')))
452 $signupItem->isPublic =
'N';
454 $signupItem->isIdentifier = ($key == $identifier);
455 if ($signupItem->imageType){
456 $signupItem->max_width = $config->{$key.
'_max_width'};
457 $signupItem->max_height = $config->{$key.
'_max_height'};
459 if($signupItem->isIdentifier)
460 array_unshift($list_order, $signupItem);
462 $list_order[] = $signupItem;
464 if(is_array($extendItems))
466 foreach($extendItems as $form_srl=>$item_info)
469 $signupItem =
new stdClass;
470 $signupItem->name = $item_info->column_name;
471 $signupItem->title = $item_info->column_title;
472 $signupItem->type = $item_info->column_type;
473 $signupItem->member_join_form_srl = $form_srl;
474 $signupItem->mustRequired = in_array($key, $mustRequireds);
475 $signupItem->required = ($item_info->required ==
'Y');
476 $signupItem->isUse = ($item_info->is_active ==
'Y');
477 $signupItem->isPublic = ($signupItem->isUse) ?
'Y' :
'N';
478 $signupItem->description = $item_info->description;
479 if($signupItem->imageType)
481 $signupItem->max_width = $config->{$key.
'_max_width'};
482 $signupItem->max_height = $config->{$key.
'_max_height'};
484 $list_order[] = $signupItem;
498 $xml_file =
'./files/ruleset/insertMember.xml';
499 $buff =
'<?xml version="1.0" encoding="utf-8"?>' . PHP_EOL.
500 '<ruleset version="1.5.0">' . PHP_EOL.
501 '<customrules>' . PHP_EOL.
502 '</customrules>' . PHP_EOL.
503 '<fields>' . PHP_EOL .
'%s' . PHP_EOL .
'</fields>' . PHP_EOL.
510 $fields[] =
'<field name="accept_agreement"><if test="$act == \'procMemberInsert\'" attr="required" value="true" /></field>';
512 foreach($signupForm as $formInfo)
514 if($formInfo->required || $formInfo->mustRequired)
516 if($formInfo->type ==
'tel' || $formInfo->type ==
'kr_zip')
518 $fields[] = sprintf(
'<field name="%s[]" required="true" />', $formInfo->name);
520 else if($formInfo->name ==
'password')
522 $fields[] =
'<field name="password"><if test="$act == \'procMemberInsert\'" attr="required" value="true" /><if test="$act == \'procMemberInsert\'" attr="length" value="4:60" /></field>';
523 $fields[] =
'<field name="password2"><if test="$act == \'procMemberInsert\'" attr="required" value="true" /><if test="$act == \'procMemberInsert\'" attr="equalto" value="password" /></field>';
525 else if($formInfo->name ==
'find_account_question')
527 $fields[] =
'<field name="find_account_question"><if test="$modify_find_account_answer" attr="required" value="true" /></field>';
528 $fields[] =
'<field name="find_account_answer" length=":250"><if test="$modify_find_account_answer" attr="required" value="true" /></field>';
530 else if($formInfo->name ==
'email_address')
532 $fields[] = sprintf(
'<field name="%s" required="true" rule="email"/>', $formInfo->name);
534 else if($formInfo->name ==
'user_id')
536 $fields[] = sprintf(
'<field name="%s" required="true" rule="userid" length="3:20" />', $formInfo->name);
538 else if($formInfo->name ==
'nick_name')
540 $fields[] = sprintf(
'<field name="%s" required="true" length="2:20" />', $formInfo->name);
542 else if(strpos($formInfo->name,
'image') !==
false)
544 $fields[] = sprintf(
'<field name="%s"><if test="$act != \'procMemberAdminInsert\' && $__%s_exist != \'true\'" attr="required" value="true" /></field>', $formInfo->name, $formInfo->name);
546 else if($formInfo->name ==
'signature')
548 $fields[] =
'<field name="signature"><if test="$member_srl" attr="required" value="true" /></field>';
552 $fields[] = sprintf(
'<field name="%s" required="true" />', $formInfo->name);
557 $xml_buff = sprintf($buff, implode(PHP_EOL, $fields));
562 $validator->setCacheDir(
'files/cache');
563 $validator->getJsPath();
573 $xml_file =
'./files/ruleset/login.xml';
574 $buff =
'<?xml version="1.0" encoding="utf-8"?>'.
575 '<ruleset version="1.5.0">'.
578 '<fields>%s</fields>'.
582 $trans = array(
'email_address'=>
'email',
'user_id'=>
'userid');
583 $fields[] = sprintf(
'<field name="user_id" required="true" rule="%s"/>', $trans[$identifier]);
584 $fields[] =
'<field name="password" required="true" />';
586 $xml_buff = sprintf($buff, implode(
'', $fields));
587 Filehandler::writeFile($xml_file, $xml_buff);
590 $validator->setCacheDir(
'files/cache');
591 $validator->getJsPath();
601 $xml_file =
'./files/ruleset/find_member_account_by_question.xml';
602 $buff =
'<?xml version="1.0" encoding="utf-8"?>'.
603 '<ruleset version="1.5.0">'.
606 '<fields>%s</fields>'.
610 if($identifier ==
'user_id')
611 $fields[] =
'<field name="user_id" required="true" rule="userid" />';
613 $fields[] =
'<field name="email_address" required="true" rule="email" />';
614 $fields[] =
'<field name="find_account_question" required="true" />';
615 $fields[] =
'<field name="find_account_answer" required="true" length=":250"/>';
617 $xml_buff = sprintf($buff, implode(
'', $fields));
618 Filehandler::writeFile($xml_file, $xml_buff);
621 $validator->setCacheDir(
'files/cache');
622 $validator->getJsPath();
635 $this->add(
'group_srl',
'');
637 $this->setMessage(
'success_registed');
640 $this->setRedirectUrl($returnUrl);
656 $this->add(
'group_srl',
'');
658 $this->setMessage(
'success_updated');
661 $this->setRedirectUrl($returnUrl);
672 $output = $this->deleteGroup($group_srl);
675 $this->add(
'group_srl',
'');
677 $this->setMessage(
'success_deleted');
680 $this->setRedirectUrl($returnUrl);
689 $args =
new stdClass();
695 $args->default_value = explode(
"\n", str_replace(
"\r",
'',
Context::get(
'default_value')));
698 if(!in_array(strtoupper(
$args->required), array(
'Y',
'N')))
$args->required =
'N';
701 if(in_array(
$args->column_type, array(
'checkbox',
'select',
'radio')) && count(
$args->default_value))
703 $args->default_value = serialize(
$args->default_value);
707 $args->default_value =
'';
712 $config = $oMemberModel->getMemberConfig();
713 foreach($config->signupForm as $item)
715 if($item->name ==
$args->column_name)
717 if(
$args->member_join_form_srl &&
$args->member_join_form_srl == $item->member_join_form_srl)
continue;
718 return new BaseObject(-1,
'msg_exists_user_id');
723 if(!
$args->member_join_form_srl)
737 $signupItem =
new stdClass();
738 $signupItem->name =
$args->column_name;
739 $signupItem->title =
$args->column_title;
740 $signupItem->type =
$args->column_type;
741 $signupItem->member_join_form_srl =
$args->member_join_form_srl;
742 $signupItem->required = (
$args->required ==
'Y');
743 $signupItem->isUse = (
$args->is_active ==
'Y');
744 $signupItem->description =
$args->description;
745 $signupItem->isPublic =
'Y';
748 $config = $oMemberModel->getMemberConfig();
749 unset($config->agreement);
753 $config->signupForm[] = $signupItem;
757 foreach($config->signupForm as $key=>$val)
759 if($val->member_join_form_srl == $signupItem->member_join_form_srl)
761 $config->signupForm[$key] = $signupItem;
768 $this->setMessage(
'success_registed');
771 $this->setRedirectUrl($returnUrl);
780 $member_join_form_srl =
Context::get(
'member_join_form_srl');
781 $this->deleteJoinForm($member_join_form_srl);
784 $config = $oMemberModel->getMemberConfig();
785 unset($config->agreement);
787 foreach($config->signupForm as $key=>$val)
789 if($val->member_join_form_srl == $member_join_form_srl)
791 unset($config->signupForm[$key]);
806 $member_join_form_srl =
Context::get(
'member_join_form_srl');
812 $output = $this->moveJoinFormUp($member_join_form_srl);
813 $msg_code =
'success_moved';
816 $output = $this->moveJoinFormDown($member_join_form_srl);
817 $msg_code =
'success_moved';
820 $output = $this->deleteJoinForm($member_join_form_srl);
821 $msg_code =
'success_deleted';
828 $this->setMessage($msg_code);
838 $groups = $var->groups;
839 $members = $var->member_srls;
845 foreach($members as $key=>$member_srl)
847 $args =
new stdClass();
848 $args->member_srl = $member_srl;
853 if(count($groups) > 0)
864 foreach($groups as $group_srl)
866 $output = $oMemberController->addMemberToGroup(
$args->member_srl,$group_srl);
876 $args->denied = $var->denied;
884 $this->setMessage(
'success_updated');
889 $oMemberController->memberInfo = null;
890 $output = $oMemberController->deleteMember($member_srl);
896 $this->setMessage(
'success_deleted');
899 $oMemberController->_clearMemberCache(
$args->member_srl);
902 $message = $var->message;
909 $title =
cut_str($message,10,
'...');
912 foreach($members as $member_srl)
914 $oCommunicationController->sendMessage($sender_member_srl, $member_srl, $title, $message,
false);
919 $this->setRedirectUrl($returnUrl);
928 $target_member_srls =
Context::get(
'target_member_srls');
929 if(!$target_member_srls)
return new BaseObject(-1,
'msg_invalid_request');
930 $member_srls = explode(
',', $target_member_srls);
933 foreach($member_srls as $member)
935 $output = $oMemberController->deleteMember($member);
938 $this->setMessage(
'failed_deleted');
943 $this->setMessage(
'success_deleted');
953 if(!$member_srl)
return new BaseObject(-1,
'msg_invalid_request');
954 $member_srls = explode(
',',$member_srl);
957 if(!is_array($group_srl)) $group_srls = explode(
'|@|', $group_srl);
958 else $group_srls = $group_srl;
963 $args =
new stdClass;
964 $args->member_srl = $member_srl;
972 $group_count = count($group_srls);
973 $member_count = count($member_srls);
974 for($j=0;$j<$group_count;$j++)
976 $group_srl = (int)trim($group_srls[$j]);
977 if(!$group_srl)
continue;
978 for($i=0;$i<$member_count;$i++)
980 $member_srl = (int)trim($member_srls[$i]);
981 if(!$member_srl)
continue;
983 $args =
new stdClass;
984 $args->member_srl = $member_srl;
985 $args->group_srl = $group_srl;
997 $this->_deleteMemberGroupCache();
999 $this->setMessage(
'success_updated');
1022 $user_ids = explode(
',',$user_ids);
1023 $success_ids = array();
1025 foreach($user_ids as $val)
1030 $output = $this->insertDeniedID($val,
'');
1031 if(
$output->toBool()) $success_ids[] = $val;
1034 $this->add(
'user_ids', implode(
',',$success_ids));
1037 $this->setRedirectUrl($returnUrl);
1049 $mode = $mode ? $mode :
'insert';
1051 if($mode ==
'delete')
1053 $output = $this->deleteDeniedNickName($nick_name);
1058 $msg_code =
'success_deleted';
1059 $this->setMessage($msg_code);
1063 $nick_names = explode(
',',$nick_name);
1064 $success_nick_names = array();
1066 foreach($nick_names as $val)
1071 $output = $this->insertDeniedNickName($val,
'');
1072 if(
$output->toBool()) $success_nick_names[] = $val;
1075 $this->add(
'nick_names', implode(
',',$success_nick_names));
1091 $output = $this->deleteDeniedID($user_id);
1093 $msg_code =
'success_deleted';
1098 $this->setMessage($msg_code);
1109 $args->is_admin =
'Y';
1111 $oMemberModel =
getModel(
'member');
1112 $admin_group = $oMemberModel->getAdminGroup();
1113 $args->group_srl_list = $admin_group->group_srl;
1116 return $oMemberController->insertMember(
$args);
1127 $args =
new stdClass;
1128 $args->source_group_srl = $source_group_srl;
1129 $args->target_group_srl = $target_group_srl;
1132 $this->_deleteMemberGroupCache($site_srl);
1146 if(
$args->is_default !=
'Y')
1148 $args->is_default =
'N';
1156 if(!isset(
$args->list_order) ||
$args->list_order==
'')
1164 $this->_deleteMemberGroupCache(
$args->site_srl);
1178 if(!
$args->group_srl)
return new BaseObject(-1,
'lang->msg_not_founded');
1179 if(
$args->is_default!=
'Y')
1181 $args->is_default =
'N';
1190 $this->_deleteMemberGroupCache(
$args->site_srl);
1203 $oMemberModel =
getModel(
'member');
1206 $columnList = array(
'group_srl',
'is_default');
1207 $group_info = $oMemberModel->getGroup($group_srl, $columnList);
1209 if(!$group_info)
return new BaseObject(-1,
'lang->msg_not_founded');
1210 if($group_info->is_default ==
'Y')
return new BaseObject(-1,
'msg_not_delete_default');
1213 $columnList = array(
'site_srl',
'group_srl');
1214 $default_group = $oMemberModel->getDefaultGroup($site_srl, $columnList);
1215 $default_group_srl = $default_group->group_srl;
1218 $this->changeGroup($group_srl, $default_group_srl);
1220 $args =
new stdClass;
1221 $args->group_srl = $group_srl;
1223 $this->_deleteMemberGroupCache($site_srl);
1235 $oMemberModel =
getModel(
'member');
1239 $config = $oMemberModel->getMemberConfig();
1240 $config->group_image_mark = $vars->group_image_mark;
1241 unset($config->agreement);
1244 $defaultGroup = $oMemberModel->getDefaultGroup(0);
1245 $defaultGroupSrl = $defaultGroup->group_srl;
1246 $group_srls = $vars->group_srls;
1247 foreach($group_srls as $order=>$group_srl)
1250 $update_args =
new stdClass();
1251 $update_args->title = $vars->group_titles[$order];
1252 $update_args->description = $vars->descriptions[$order];
1253 $update_args->image_mark = $vars->image_marks[$order];
1254 $update_args->list_order = $order + 1;
1256 if(!$update_args->title)
continue;
1258 if(is_numeric($group_srl)) {
1259 $update_args->group_srl = $group_srl;
1260 $output = $this->updateGroup($update_args);
1264 $output = $this->insertGroup($update_args);
1267 if($vars->defaultGroup == $group_srl) {
1268 $defaultGroupSrl = $update_args->group_srl;
1273 $default_args = $oMemberModel->getGroup($defaultGroupSrl);
1274 $default_args->is_default =
'Y';
1275 $default_args->group_srl = $defaultGroupSrl;
1276 $output = $this->updateGroup($default_args);
1281 $this->setRedirectUrl($returnUrl);
1293 foreach($vars->group_srls as $key => $val)
1295 $args =
new stdClass;
1296 $args->group_srl = $val;
1297 $args->list_order = $key + 1;
1301 $this->_deleteMemberGroupCache($vars->site_srl);
1303 $this->setRedirectUrl(
getNotEncodedUrl(
'',
'module',
'admin',
'act',
'dispMemberAdminGroupList'));
1314 if($oCacheHandler->isSupport())
1316 $oCacheHandler->invalidateGroupKey(
'member');
1328 $args =
new stdClass();
1329 $args->user_id = $user_id;
1330 $args->description = $description;
1338 $args =
new stdClass();
1339 $args->nick_name = $nick_name;
1340 $args->description = $description;
1352 if(!$user_id) unset($user_id);
1354 $args =
new stdClass;
1355 $args->user_id = $user_id;
1366 if(!$nick_name) unset($nick_name);
1368 $args =
new stdClass;
1369 $args->nick_name = $nick_name;
1380 $args =
new stdClass();
1381 $args->member_join_form_srl = $member_join_form_srl;
1394 $oMemberModel =
getModel(
'member');
1396 $args =
new stdClass;
1397 $args->member_join_form_srl = $member_join_form_srl;
1401 $list_order = $join_form->list_order;
1403 $join_form_list = $oMemberModel->getJoinFormList();
1404 $join_form_srl_list = array_keys($join_form_list);
1405 if(count($join_form_srl_list)<2)
return new BaseObject();
1407 $prev_member_join_form = NULL;
1408 foreach($join_form_list as $key => $val)
1410 if($val->member_join_form_srl == $member_join_form_srl)
break;
1411 $prev_member_join_form = $val;
1414 if(!$prev_member_join_form)
return new BaseObject();
1416 $cur_args =
new stdClass;
1417 $cur_args->member_join_form_srl = $member_join_form_srl;
1418 $cur_args->list_order = $prev_member_join_form->list_order;
1420 $prev_args =
new stdClass;
1421 $prev_args->member_join_form_srl = $prev_member_join_form->member_join_form_srl;
1422 $prev_args->list_order = $list_order;
1427 executeQuery(
'member.updateMemberJoinFormListorder', $prev_args);
1441 $oMemberModel =
getModel(
'member');
1443 $args =
new stdClass;
1444 $args->member_join_form_srl = $member_join_form_srl;
1448 $list_order = $join_form->list_order;
1450 $join_form_list = $oMemberModel->getJoinFormList();
1451 $join_form_srl_list = array_keys($join_form_list);
1452 if(count($join_form_srl_list)<2)
return new BaseObject();
1454 for($i=0;$i<count($join_form_srl_list);$i++)
1456 if($join_form_srl_list[$i]==$member_join_form_srl)
break;
1459 $next_member_join_form_srl = $join_form_srl_list[$i+1];
1461 if(!$next_member_join_form_srl)
return new BaseObject();
1462 $next_member_join_form = $join_form_list[$next_member_join_form_srl];
1464 $cur_args =
new stdClass;
1465 $cur_args->member_join_form_srl = $member_join_form_srl;
1466 $cur_args->list_order = $next_member_join_form->list_order;
1468 $next_args =
new stdClass;
1469 $next_args->member_join_form_srl = $next_member_join_form->member_join_form_srl;
1470 $next_args->list_order = $list_order;
_deleteMemberGroupCache($site_srl=0)
getController($module_name)
procMemberAdminInsertSignupConfig()
procMemberAdminInsertDeniedID()
_createFindAccountByQuestion($identifier)
deleteJoinForm($member_join_form_srl)
procMemberAdminUpdateDeniedID()
procMemberAdminDeleteJoinForm()
procMemberAdminUpdateMembersGroup()
insertDeniedID($user_id, $description= '')
& getInstance($target= 'object', $info=null, $always_use_file=false)
changeGroup($source_group_srl, $target_group_srl)
foreach($sitemap as $id=> &$val) $extra_vars
procMemberAdminInsertGroup()
writeFile($filename, $buff, $mode="w")
delObjectVars($target_obj, $del_obj)
procMemberAdminDeleteGroup()
procMemberAdminUpdateGroupOrder()
procMemberAdminInsertDefaultConfig()
procMemberAdminUpdateGroup()
procMemberAdminInsertJoinForm()
procMemberAdminGroupConfig()
createSignupForm($identifier)
moveJoinFormUp($member_join_form_srl)
procMemberAdminSelectedMemberManage()
procMemberAdminUpdateJoinForm()
deleteGroup($group_srl, $site_srl=0)
insertDeniedNickName($nick_name, $description= '')
_createSignupRuleset($signupForm, $agreement=null)
getInstance($db_type=NULL)
procMemberAdminInsertLoginConfig()
procMemberAdminInsertDesignConfig()
moveJoinFormDown($member_join_form_srl)
deleteDeniedNickName($nick_name)
cut_str($string, $cut_size=0, $tail= '...')
_createLoginRuleset($identifier)
executeQuery($query_id, $args=NULL, $arg_columns=NULL)
procMemberAdminDeleteMembers()
procMemberAdminUpdateDeniedNickName()
if(isset($_REQUEST['encode'])) if(isset($_REQUEST['decode'])) $lang