Example #1
0
 function build_field_selector($field_num, $base_module, $workflow_type = "", $action_type = "")
 {
     ////Begin - New Code call to workflow_utils
     $temp_module = BeanFactory::getBean($base_module);
     //Build Selector Array
     $selector_array = array('value' => $this->value, 'operator' => '', 'time' => '', 'field' => $this->field, 'target_field' => $this->field, 'ext1' => $this->ext1, 'ext2' => $this->ext2, 'ext3' => $this->ext3);
     $meta_array = array('parent_type' => "field_" . $field_num, 'enum_multi' => false, 'workflow_type' => $workflow_type, 'action_type' => $action_type);
     $output_array = get_field_output($temp_module, $selector_array, $meta_array, true);
     return $output_array;
     //end function build-filter
 }
Example #2
0
 function build_field_filter($base_module, $target_field, $enum_multi = false)
 {
     ////Begin - New Code call to workflow_utils
     $temp_module = BeanFactory::getBean($base_module);
     //Build Selector Array
     $selector_array = array('value' => $this->rhs_value, 'operator' => $this->operator, 'time' => $this->ext1, 'field' => $target_field, 'target_field' => $this->lhs_field);
     $meta_array = array('parent_type' => $this->parent_type, 'enum_multi' => $enum_multi);
     $output_array = get_field_output($temp_module, $selector_array, $meta_array);
     return $output_array;
     //end function build_field_filter
 }