コード例 #1
0
 function __construct($context)
 {
     Loader::includeLibrary('phpmailer5.2/class.phpmailer.php');
     $this->mailer = new PHPMailer();
     $this->mailer->CharSet = AppConfig::CHARSET;
     parent::__construct($context);
 }
コード例 #2
0
 function get_list_view_data()
 {
     global $app_strings, $mod_strings;
     global $app_list_strings;
     global $mod_strings;
     global $beanList;
     global $current_module_strings2;
     global $current_user;
     /*
     ///Determine Natural Language to display
     if($this->action_type=='new'){
     	$natural_language = $current_module_strings['LBL_ACTION_NEW']." ".$beanList[$this->action_module];
     }	
     if($this->action_type=='update_rel'){
     	$workflow_object = $this->get_workflow_object();
     	$rel_module = $workflow_object->get_rel_module($this->rel_module);
     	$natural_language = $current_module_strings['LBL_ACTION_UPDATE_REL']." ".$rel_module;
     	unset($workflow_object);
     }	
     if($this->action_type=='update'){
     	$natural_language = $current_module_strings['LBL_ACTION_UPDATE']." ".$current_module_strings['LBL_RECORD'];
     }		
     */
     //begin - rsmith
     include_once 'include/ListView/ProcessView.php';
     $ProcessView = new ProcessView($this->get_workflow_object(), $this);
     $results = $ProcessView->get_action_shell_display_text($this, false);
     $result = $results["RESULT_ARRAY"];
     $table_html = "<table id='tbl_{$this->id}' style='display:none'>";
     foreach ($result as $key => $value) {
         if (isset($value["ACTION_DISPLAY_TEXT"])) {
             if ($value["ACTION_DISPLAY_TEXT"] === false) {
                 $table_html .= "<tr><td>";
                 $table_html .= "<span class='error'>" . translate('LBL_ACTION_ERROR') . "</span>";
                 $table_html .= "</td></tr>";
                 if (empty($this->hasError)) {
                     $this->hasError = true;
                     echo '<p class="error"><b>' . translate('LBL_ACTION_ERRORS') . '</b></p>';
                 }
             } else {
                 $table_html .= "<tr><td>";
                 $table_html .= "<li>" . $mod_strings['LBL_SET'] . " " . $value["FIELD_NAME"] . " " . $mod_strings['LBL_AS'] . " " . $value["ACTION_DISPLAY_TEXT"];
                 $table_html .= "</td></tr>";
             }
         }
     }
     $table_html .= "</table>";
     //end - rsmith
     $temp_array = array();
     //Grab event
     $ProcessView->local_strings = $current_module_strings2;
     //BEGIN WFLOW PLUGINS
     global $process_dictionary;
     get_plugin("workflow", "action_createstep1", $this);
     //END WFLOW PLUGINS
     $prev_display_text = $ProcessView->get_prev_text("ActionsCreateStep1", $this->action_type);
     unset($ProcessView);
     //$natural_language = "<i>".$current_module_strings['LBL_LIST_STATEMENT_CONTENT']."</i>";
     $natural_language = "<b>" . $prev_display_text . "</b>";
     $temp_array['HREF_EDIT'] = "'javascript:get_popup(\"" . $this->parent_id . "\",\"" . $this->id . "\",\"CreateStep2\",\"\",\"\",\"400\",\"500\")'";
     $temp_array['HREF_DELETE'] = "index.php?action=Delete&module=WorkFlowActionShells&record=" . $this->id . "";
     $temp_array['TYPE'] = $current_module_strings2['LBL_MODULE_NAME'];
     $temp_array['STATEMENT'] = "<i>" . $natural_language . "</i>";
     $temp_array['DETAILS_TABLE'] = $table_html;
     //$temp_array['ACTION_DESCRIPTION'] = "<i>".$natural_language."</i>";
     $temp_array['ID'] = $this->id;
     //Component information for either invitees (Meetings & Calls ONLY)
     if ($this->action_module == "Meetings" || $this->action_module == "Calls" || $this->action_module == "meetings" || $this->action_module == "calls") {
         $recipient_icon = SugarThemeRegistry::current()->getImage('Users', 'align="absmiddle" border="0"', null, null, '.gif', $app_strings['LNK_REMOVE']);
         $bridge_list = $this->get_linked_beans("action_bridge", "WorkFlow");
         if (!empty($bridge_list)) {
             $alertshell_list = $bridge_list[0]->get_linked_beans("alerts", "WorkFlowAlertShell");
             if (!empty($alertshell_list)) {
                 //check for any invitees
                 $invitees_list = $alertshell_list[0]->get_linked_beans('alert_components', 'WorkFlowAlert');
                 if (empty($invitees_list)) {
                     $invitee_notice = "<font color='red'><b>" . $mod_strings['LBL_INVITEE_NOTICE'] . " " . $app_list_strings['moduleListSingular'][ucfirst($this->action_module)] . " </b></font><BR>";
                     $temp_array['STATEMENT_NOTICE'] = $invitee_notice;
                 }
                 $temp_array['COMPONENT_HREF_EDIT'] = 'index.php?action=DetailView&module=WorkFlowAlertShells&module_tab=WorkFlow&record=' . $alertshell_list[0]->id . '&workflow_id=' . $alertshell_list[0]->parent_id;
                 $temp_array['COMPONENT_STATEMENT'] = $recipient_icon . $mod_strings['LBL_INVITEES'];
             }
         }
     }
     //BEGIN WFLOW PLUGINS
     $list_data_array = get_plugin("workflow", "action_listview", $this);
     if (!empty($list_data_array['action_processed']) && $list_data_array['action_processed'] == true) {
         //a custom plugin was found with data
         foreach ($list_data_array['list_data'] as $list_key => $list_value) {
             $temp_array[$list_key] = $list_value;
             //loop through and fill the temp_array
         }
     }
     //END WFLOW PLUGINS
     return $temp_array;
 }
コード例 #3
0
ファイル: CreateStep1.php プロジェクト: jglaine/sugar761-ent
if (!empty($plugin_array)) {
    $form->assign("PLUGIN_JAVASCRIPT1", $plugin_array['jscript_part1']);
    $form->assign("PLUGIN_JAVASCRIPT2", $plugin_array['jscript_part2']);
}
//END - WFLOW PLUGINS INFORMATION//////
$form->assign("JAVASCRIPT_LANGUAGE_FILES", $javascript_language_files);
$form->assign("MODULE_NAME", $currentModule);
//$form->assign("FORM", $_REQUEST['form']);
$form->assign("GRIDLINE", $gridline);
$form->assign("SET_RETURN_JS", $the_javascript);
insert_popup_header($theme);
$form->parse("embeded");
$form->out("embeded");
//////////New way of processing page
require_once 'include/ListView/ProcessView.php';
$ProcessView = new ProcessView($seed_object, $focus);
$ProcessView->no_count = true;
$ProcessView->write("ActionsCreateStep1");
$form->assign("TOP_BLOCK", $ProcessView->top_block);
$form->assign("BOTTOM_BLOCK", $ProcessView->bottom_block);
//close window and refresh parent if needed
if (!empty($_REQUEST['special_action']) && $_REQUEST['special_action'] == "refresh") {
    $special_javascript = "window.opener.document.DetailView.action.value = 'DetailView'; \n";
    $special_javascript .= "window.opener.document.DetailView.submit(); \n";
    $special_javascript .= "window.close();";
    $form->assign("SPECIAL_JAVASCRIPT", $special_javascript);
}
$form->parse("main");
$form->out("main");
?>
コード例 #4
0
 function get_list_view_data()
 {
     global $app_strings, $mod_strings;
     global $app_list_strings;
     global $current_user;
     global $current_module_strings;
     $temp_array = array();
     //BEGIN WFLOW PLUGINS
     global $process_dictionary;
     get_plugin("workflow", "trigger_createstep1", $this);
     //END WFLOW PLUGINS
     //Grab event
     include_once 'include/ListView/ProcessView.php';
     $ProcessView = new ProcessView($this->get_workflow_type(), $this);
     $ProcessView->local_strings = $current_module_strings;
     $prev_display_text = $ProcessView->get_prev_text("TriggersCreateStep1", $this->type);
     // Added a text add to the confirmation of deletes when deleting a primary trigger
     $deleteConfirm = $current_module_strings['NTC_REMOVE_TRIGGER'];
     if ($this->frame_type == "Primary") {
         $statement1 = $current_module_strings['LBL_LIST_STATEMEMT'];
         // Add a notice that deleting the primary deletes all triggers
         $deleteConfirm .= ' ' . $current_module_strings['NTC_REMOVE_TRIGGER_PRIMARY'];
     } else {
         $statement1 = $current_module_strings['LBL_FILTER_LIST_STATEMEMT'];
     }
     $temp_array['REMOVE_TRIGGER_CONFIRM'] = $deleteConfirm;
     $temp_array['FRAME_TYPE'] = $this->frame_type;
     $temp_array['STATEMENT'] = "<b>" . $prev_display_text . "</b>";
     $temp_array['STATEMENT1'] = "<i>" . $statement1 . "</i>";
     $trigger_display_text = $ProcessView->get_trigger_display_text("TriggersCreateStep1", $this);
     if (strpos($trigger_display_text, 'class="error"') !== false && empty($this->hasError)) {
         $this->hasError = true;
         echo '<p class="error"><b>' . translate('LBL_TRIGGER_ERRORS') . '</b></p>';
     }
     $temp_array['STATEMENT2'] = "<b>" . $trigger_display_text . "</b>";
     unset($ProcessView);
     //preset height and width
     $temp_array['POPUP_HEIGHT'] = "500";
     $temp_array['POPUP_WIDTH'] = "400";
     $action_processed = false;
     if ($this->type == "compare_change" || $this->type == "trigger_record_change") {
         $temp_array['ACTION'] = 'CreateStep1';
         $action_processed = true;
     }
     if ($this->type == "compare_specific") {
         $temp_array['ACTION'] = 'CreateStepSpecific';
         $action_processed = true;
     }
     if ($this->type == "compare_count") {
         $temp_array['ACTION'] = 'CreateStepCount';
         $action_processed = true;
     }
     if ($this->type == "compare_any_time") {
         $temp_array['ACTION'] = 'CreateStep1';
         $action_processed = true;
     }
     if ($this->type == "filter_field" || $this->type == "filter_rel_field") {
         $temp_array['ACTION'] = 'CreateStepFilter';
         $action_processed = true;
     }
     //BEGIN WFLOW PLUGINS
     if ($action_processed == false) {
         $list_data_array = get_plugin("workflow", "trigger_listview", $this);
         if (!empty($list_data_array['action_processed']) && $list_data_array['action_processed'] == true) {
             //a custom plugin was found with data
             foreach ($list_data_array['list_data'] as $list_key => $list_value) {
                 $temp_array[$list_key] = $list_value;
                 //loop through and fill the temp_array
             }
         }
     }
     //END WFLOW PLUGINS
     $temp_array['PARENT_ID'] = $this->parent_id;
     $temp_array['ID'] = $this->id;
     return $temp_array;
 }
コード例 #5
0
    $xtpl->assign('FORM_NAME', $form_name);
    $xtpl->parse("main");
    $xtpl->out("main");
    //rsmith
    $temp_module = BeanFactory::getBean($exp_object->lhs_module);
    $field = $exp_object->lhs_field;
    //now build toggle js
    global $mod_strings, $current_language;
    $mod_strings = return_module_language($current_language, $temp_module->module_dir);
    $javascript = new javascript();
    $javascript->setFormName('FieldViewNonSelector');
    $javascript->setSugarBean($temp_module);
    $type = $temp_module->field_name_map[$field]['type'];
    $js = "";
    if (isset($temp_module->field_name_map[$field]['required'])) {
        if ($type == 'date' || $type == 'time') {
            $js = "<script type=\"text/javascript\">";
            $js .= "addToValidate('EditView', '" . $exp_object->parent_type . "__field_value', 'assigned_user_name', 1,'" . $javascript->stripEndColon(translate($temp_module->field_name_map[$field]['vname'])) . "' )";
            $js .= "</script>";
        } else {
            if (in_array($type, ProcessView::get_js_exception_fields()) == 1) {
                $js = '';
            } else {
                $javascript->addField($field, true, '', $exp_object->parent_type . "__field_value");
                $js = $javascript->getScript();
            }
        }
    }
    echo $js;
    //rsmith
}
コード例 #6
0
 function get_list_view_data()
 {
     global $app_strings, $mod_strings;
     global $app_list_strings;
     global $current_module_strings;
     global $current_module_strings2;
     global $current_user;
     global $current_language;
     $temp_array = array();
     $translated_type = $app_list_strings['wflow_source_type_dom'][$this->source_type];
     $prepared_name = $this->name == "" ? "<i>an alert</i>" : "<b><i>" . $this->name . "</b></i>";
     //begin - rsmith
     $focus_alertcomp_list = $this->get_linked_beans('alert_components', 'WorkFlowAlert');
     include_once 'include/ListView/ProcessView.php';
     $workflow_alert_module = return_module_language($current_language, 'WorkFlowAlerts');
     $table_html = "<table id='tbl_{$this->id}' style='display:none'>";
     foreach ($focus_alertcomp_list as $comp) {
         $ProcessView = new ProcessView($this->get_workflow_object(), $comp);
         $ProcessView->local_strings = $workflow_alert_module;
         $alert_prev_text = $ProcessView->get_prev_text("AlertsCreateStep1", $comp->user_type);
         if ($alert_prev_text === false) {
             if (empty($this->hasError)) {
                 $this->hasError = true;
                 echo '<p class="error"><b>' . translate('LBL_ALERT_ERRORS') . '</b></p>';
             }
             $alert_prev_text = '<span class="error">' . translate('LBL_ALERT_ERROR') . '</span>';
         }
         $table_html .= "<tr><td>";
         $table_html .= "<li>{$alert_prev_text}</li>";
         $table_html .= "</td></tr>";
     }
     $table_html .= "</table>";
     //end - rsmith
     //this is an alert item
     if ($this->source_type == "Normal Message") {
         $statement = $current_module_strings['STATEMENT_PART1'] . " " . $prepared_name . " " . $current_module_strings['STATEMENT_PART2'] . " " . $translated_type;
         $temp_array['STATEMENT'] = $statement;
         //end if normal message
     } else {
         //custom template message
         if (!empty($this->custom_template_id)) {
             $template_object = BeanFactory::getBean('EmailTemplates', $this->custom_template_id);
         }
         if (!empty($template_object)) {
             $custom_template_name = $template_object->name;
         } else {
             $custom_template_name = "";
         }
         $statement = $current_module_strings['STATEMENT_PART1'] . " " . $prepared_name . " " . $current_module_strings['STATEMENT_PART2'] . " " . $translated_type . ": <b><i>" . $custom_template_name . "</b></i>";
         $temp_array['STATEMENT'] = $statement;
         //end else custom template message
     }
     $temp_array['HREF_EDIT'] = 'index.php?action=EditView&module=WorkFlowAlertShells&module_tab=WorkFlow&record=' . $this->id . '&workflow_id=' . $this->parent_id;
     $temp_array['HREF_DELETE'] = "index.php?action=Delete&module=WorkFlowAlertShells&module_tab=WorkFlow&record=" . $this->id . "";
     $temp_array['TYPE'] = $current_module_strings['LBL_MODULE_NAME'];
     $temp_array['DETAILS_TABLE'] = $table_html;
     $temp_array['ID'] = $this->id;
     //Component information for either recipients or invitees (Meetings & Calls)
     $recipient_icon = SugarThemeRegistry::current()->getImage('Users', 'align="absmiddle" border="0"', null, null, '.gif', $app_strings['LNK_REMOVE']);
     $temp_array['COMPONENT_HREF_EDIT'] = 'index.php?action=DetailView&module=WorkFlowAlertShells&module_tab=WorkFlow&record=' . $this->id . '&workflow_id=' . $this->parent_id;
     $temp_array['COMPONENT_STATEMENT'] = $recipient_icon . $mod_strings['LBL_RECIPIENTS'];
     return $temp_array;
 }
コード例 #7
0
////////Middle Items/////////////////////////////
$temp_module = BeanFactory::getBean($workflow_object->base_module);
$display_field_name = $temp_module->field_defs[$focus->field]['vname'];
$current_module_strings = return_module_language($current_language, $workflow_object->base_module);
$display_field_name = "<i><b>\" " . get_label($display_field_name, $current_module_strings) . " \"</i></b>";
$form->assign("SPECIFIC_FIELD", $display_field_name);
if ($workflow_object->type == "Normal") {
    //set exp_meta_type to normal_trigger
    $form->assign("EXP_META_TYPE", "normal_trigger");
} else {
    //set exp_meta_type to time_trigger
    $form->assign("EXP_META_TYPE", "time_trigger");
}
//SET Previous Display Text
require_once 'include/ListView/ProcessView.php';
$ProcessView = new ProcessView($workflow_object, $focus);
$prev_display_text = $ProcessView->get_prev_text("TriggersCreateStep1", $focus->type);
$form->assign("PREV_DISPLAY_TEXT", $prev_display_text);
//////////////////BEGIN Future Object	/////////////////////////////////
$future_object = BeanFactory::getBean('Expressions');
$future_list = $focus->get_linked_beans('future_triggers', 'Expression');
if (!empty($future_list[0])) {
    $future_id = $future_list[0]->id;
}
if (!empty($future_id)) {
    $future_object->retrieve($future_id);
    $display_array = $future_object->get_display_array($temp_module);
    if ($workflow_object->type == "Time") {
        $form->assign("FUTURE_TRIGGER_TIME_INT", $future_object->ext1);
        if ($future_object->exp_type == "datetime" || $future_object->exp_type == "date" || $future_object->exp_type == "datetimecombo") {
            if ($future_object->operator == "More Than") {
コード例 #8
0
ファイル: CreateStep1.php プロジェクト: jglaine/sugar761-ent
//	$form->assign("BASE_MODULE", $_REQUEST['base_module']);
$form->assign("BASE_MODULE", $target_workflow_object->base_module);
$form->assign("PARENT_ID", $focus->parent_id);
$form->assign("ID", $focus->id);
$form->assign("REL_MODULE1", $focus->rel_module1);
$form->assign("REL_MODULE2", $focus->rel_module2);
$form->assign("FIELD_VALUE", $focus->field_value);
////////Middle Items/////////////////////////////
/////////////////End Items 	//////////////////////
insert_popup_header($theme);
$form->parse("embeded");
$form->out("embeded");
//////////New way of processing page
require_once 'include/ListView/ProcessView.php';
//Check to see if this workflow object is bridging, and if so, use its parent workflow object as the object
$ProcessView = new ProcessView($target_workflow_object, $focus);
$ProcessView->no_count = true;
$ProcessView->write("AlertsCreateStep1");
$form->assign("TOP_BLOCK", $ProcessView->top_block);
$form->assign("BOTTOM_BLOCK", $ProcessView->bottom_block);
//close window and refresh parent if needed
if (!empty($_REQUEST['special_action']) && $_REQUEST['special_action'] == "refresh") {
    $special_javascript = "window.opener.document.DetailView.action.value = 'DetailView'; \n";
    $special_javascript .= "window.opener.document.DetailView.submit(); \n";
    $special_javascript .= "window.close();";
    $form->assign("SPECIAL_JAVASCRIPT", $special_javascript);
}
$form->parse("main");
$form->out("main");
?>
コード例 #9
0
ファイル: CreateStep2.php プロジェクト: jglaine/sugar761-ent
            $form->assign("HREF_TEXT1", $mod_strings[$type_array['href_text']]);
            $form->assign("HREF_TEXT3", $mod_strings[$type_array['href_text3']]);
            ///Address Type
            $single_selector_array = "href_add_" . $type_array['user_display_type'] . "";
            $form->assign("SINGLE_SELECTOR_ARRAY_ADD", $single_selector_array);
            $form->parse("main.bottom_frame");
            ++$radio_count;
            //end if this is a normal or time only option
        }
        //end foreach alert_meta_array
    }
    //end if rel_user_custom or not for user_type
}
//SET Previous Display Text
require_once 'include/ListView/ProcessView.php';
$ProcessView = new ProcessView($target_workflow_object, $focus);
$prev_display_text = $ProcessView->get_prev_text("AlertsCreateStep1", $focus->user_type);
$form->assign("PREV_DISPLAY_TEXT", $prev_display_text);
$adv_related_array = $ProcessView->get_adv_related("AlertsCreateStep1", $focus->user_type, "alert");
$form->assign("ADVANCED_SEARCH_PNG", SugarThemeRegistry::current()->getImage('advanced_search', '  border="0"', null, null, '.gif', $app_strings['LNK_ADVANCED_SEARCH']));
$form->assign("BASIC_SEARCH_PNG", SugarThemeRegistry::current()->getImage('basic_search', '  border="0"', null, null, '.gif', $app_strings['LNK_BASIC_SEARCH']));
if ($adv_related_array != "") {
    $form->assign("ADV_RELATED_BLOCK", $adv_related_array['block']);
    if (($focus->rel_module1_type == "all" || $focus->rel_module1_type == "") && ($focus->rel_module2_type == "all" || $focus->rel_module2_type == "")) {
        $form->assign("REL_SET_TYPE", "Basic");
    } else {
        $form->assign("REL_SET_TYPE", "Advanced");
    }
    $form->assign("SET_DISABLED", "No");
} else {
    $form->assign("REL_SET_TYPE", "Basic");
コード例 #10
0
ファイル: CreateStep1.php プロジェクト: jglaine/sugar761-ent
$form->assign("PARENT_ID", $workflow_object->id);
$form->assign("ID", $focus->id);
$form->assign("FIELD", $focus->field);
$form->assign("REL_MODULE", $focus->rel_module);
if (!empty($workflow_object->type) && $workflow_object->type == "Normal") {
    $meta_array_type = "normal_trigger";
} else {
    $meta_array_type = "time_trigger";
}
$form->assign("META_FILTER_NAME", $meta_array_type);
insert_popup_header($theme);
$form->parse("embeded");
$form->out("embeded");
//////////New way of processing page
require_once 'include/ListView/ProcessView.php';
$ProcessView = new ProcessView($workflow_object, $focus);
//Check multi_trigger filter conditions
if (!empty($_REQUEST['frame_type']) && $_REQUEST['frame_type'] == "Secondary") {
    $ProcessView->add_filter = true;
    $form->assign("FRAME_TYPE", $_REQUEST['frame_type']);
} else {
    $form->assign("FRAME_TYPE", "Primary");
}
$ProcessView->write("TriggersCreateStep1");
$form->assign("TOP_BLOCK", $ProcessView->top_block);
$form->assign("BOTTOM_BLOCK", $ProcessView->bottom_block);
if (!empty($_REQUEST['frame_type']) && $_REQUEST['frame_type'] == "Secondary") {
    echo getClassicModuleTitle($mod_strings['LBL_FILTER_FORM_TITLE'], array($mod_strings['LBL_FILTER_FORM_TITLE'], $mod_strings['LBL_FILTER_FORM_TITLE']), false);
} else {
    echo getClassicModuleTitle($mod_strings['LBL_TRIGGER_FORM_TITLE'], array($mod_strings['LBL_TRIGGER_FORM_TITLE'], $mod_strings['LBL_TRIGGER_FORM_TITLE']), false);
}
コード例 #11
0
ファイル: CreateStep2.php プロジェクト: jglaine/sugar761-ent
$focus->parent_id = $_REQUEST['workflow_id'];
$form->assign("ID", $focus->id);
$form->assign("WORKFLOW_ID", $_REQUEST['workflow_id']);
$form->assign("ACTION_MODULE", $focus->action_module);
$form->assign("ACTION_TYPE", $focus->action_type);
$form->assign("REL_MODULE", $focus->rel_module);
$form->assign("JAVASCRIPT_LANGUAGE_FILES", $javascript_language_files);
$form->assign("MODULE_NAME", $currentModule);
//$form->assign("FORM", $_REQUEST['form']);
$form->assign("GRIDLINE", $gridline);
insert_popup_header($theme);
$form->parse("embeded");
$form->out("embeded");
//rsmith
require_once 'include/ListView/ProcessView.php';
$ProcessView = new ProcessView($seed_object, $focus);
$results = $ProcessView->get_action_shell_display_text($focus, true);
$result = $results["RESULT_ARRAY"];
$field_count = 0;
foreach ($result as $value) {
    if (isset($value['FIELD_NAME'])) {
        foreach ($value as $aKey => $aVal) {
            $form->assign($aKey, $aVal);
        }
        $form->parse("main.lang_field");
        ++$field_count;
    }
}
//rsmith
$form->assign("TARGET_MODULE", $results["TEMP_MODULE_DIR"]);
$form->assign("TOTAL_FIELD_COUNT", $field_count);
コード例 #12
0
 function get_list_view_data()
 {
     global $app_strings, $mod_strings;
     global $app_list_strings;
     global $current_module_strings;
     global $current_user;
     include 'modules/WorkFlowAlerts/MetaArray.php';
     $temp_array = parent::get_list_view_data();
     //Grab event
     include_once 'include/ListView/ProcessView.php';
     $workflow_object = $this->get_workflow_object();
     $workflow_object = $workflow_object->get_parent_object();
     $ProcessView = new ProcessView($workflow_object, $this);
     $ProcessView->local_strings = $current_module_strings;
     $prev_display_text = $ProcessView->get_prev_text("AlertsCreateStep1", $this->user_type);
     if ($prev_display_text === false) {
         if (empty($this->hasError)) {
             $this->hasError = true;
             echo '<p class="error"><b>' . translate('LBL_ALERT_ERRORS') . '</b></p>';
         }
         $prev_display_text = '<span class="error">' . translate('LBL_RECIPIENT_ERROR') . '</span>';
     }
     unset($ProcessView);
     $temp_array['STATEMENT'] = "<i>" . $current_module_strings['LBL_LIST_STATEMENT_CONTENT'] . "</i>";
     $temp_array['STATEMENT2'] = "<b>" . $prev_display_text . "</b>";
     if ($this->user_type == "specific_user" || $this->user_type == "specific_team" || $this->user_type == "specific_role" || $this->user_type == "login_user") {
         $temp_array['ACTION'] = 'CreateStep1';
     } else {
         $temp_array['ACTION'] = 'CreateStep2';
     }
     $temp_array['FIELD_VALUE'] = $this->field_value;
     return $temp_array;
 }