{@ $obj->module_srl = $module_info->module_srl; $obj->var_member_srl = $member_srl;// user srl $obj->extra_vars_serial = serialize("X");// 주간 계획 데이터: status = X $obj->title = "weekplan_".$member_srl."_".$pYear; $query_path = $module_info->module."/skins/".$module_info->skin;// 쿼리경로 $output = executeQueryArray($query_path.'.getDocumentsForPlanner_weekplan', $obj);// 주간계획 찾기 } {@$tmp_myplan_fld .= "|@||@||@||@||@||@||@||@||@||=@=|";} {@$obj->extra_vars = "X";} {@$obj->extra_vars = serialize("X");} {@ $obj->content = $tmp_myplan_fld; $obj->is_secret = "Y"; $obj->status = "SECRET"; $oDocumentModel = &getModel('document'); $oDocumentController = &getController('document'); $output = $oDocumentController->insertDocument($obj); $msg_code = 'success_registed'; } {@$output = executeQueryArray($query_path.'.getDocumentsForPlanner_weekplan', $obj);} {@ $myplan_module_srl = $attribute_myplan->module_srl; $myplan_srl = $attribute_myplan->document_srl; $myplan_title = $attribute_myplan->title; $myplan_content = $attribute_myplan->content; } {@ $myplan_arr = explode('|=@=|',$attribute_myplan->content); $myplan_arr_week = explode('|@|',$myplan_arr[$week_count]); }