28 $args->module =
'board';
30 if(is_array(
$args->use_status))
$args->use_status = implode(
'|@|',
$args->use_status);
31 unset(
$args->board_name);
34 $extra_order_target = array();
39 foreach($module_extra_vars as $oExtraItem)
41 $extra_order_target[$oExtraItem->eid] = $oExtraItem->name;
46 if(
$args->except_notice !=
'Y')
$args->except_notice =
'N';
47 if(
$args->use_anonymous !=
'Y')
$args->use_anonymous =
'N';
48 if(
$args->consultation !=
'Y')
$args->consultation =
'N';
49 if(
$args->protect_content!=
'Y')
$args->protect_content =
'N';
50 if(!in_array(
$args->order_target,$this->order_target) && !array_key_exists(
$args->order_target, $extra_order_target))
$args->order_target =
'list_order';
51 if(!in_array(
$args->order_type, array(
'asc',
'desc')))
$args->order_type =
'asc';
54 if(
$args->module_srl) {
60 if(!
$args->module_srl) {
61 $args->hide_category =
'N';
63 $msg_code =
'success_registed';
67 $msg_code =
'success_updated';
77 foreach($list as $val)
81 if(substr($val,0,10)==
'extra_vars') $val = substr($val,10);
106 $args->module =
'board';
108 if(is_array(
$args->use_status))
110 $args->use_status = implode(
'|@|',
$args->use_status);
112 unset(
$args->board_name);
114 if(!in_array(
$args->order_target, $this->order_target))
116 $args->order_target =
'list_order';
118 if(!in_array(
$args->order_type, array(
'asc',
'desc')))
120 $args->order_type =
'asc';
128 if(
$args->admin_member)
130 $admin_members = explode(
',',
$args->admin_member);
131 for($i=0;$i<count($admin_members);$i++)
133 $admin_id = trim($admin_members[$i]);
134 if(!$admin_id)
continue;
151 $this->
add(
'module',
'board');
165 return new BaseObject(-1,
'msg_invalid_request');
procBoardAdminUpdateBoardFroBasic()
setMessage($message= 'success', $type=NULL)
getController($module_name)
changeValueInUrl($key, $requestKey, $dbKey, $urlName= 'success_return_url')
procBoardAdminDeleteBoard()
delete the board module
procBoardAdminInsertBoard($args=null)
insert borad module
$module_srl
integer value to represent a run-time instance of Module (XE Module)
$module_info
an object containing the module information
$mid
string to represent run-time instance of Module (XE Module)
setRedirectUrl($url= './', $output=NULL)
board module admin controller class
procBoardAdminSaveCategorySettings()