function save_config() { if (is_array($_REQUEST['l_tag'])) { $_REQUEST['l_tag'] = implode(',', $_REQUEST['l_tag']); } if (is_array($_REQUEST['k_tag'])) { $_REQUEST['k_tag'] = implode(',', $_REQUEST['k_tag']); } # JBPLUG_save_config_variables ( string $class_name [, string $field_name [, string $...]] ) JBPLUG_save_config_variables($this->plugin_name, 'priority', 'l', 'k', 'jp', 'id', 'l_tag', 'k_tag', 'curl', 'proxy', 'fill', 'c', 'h', 'so', 'jt', 'att'); }
function save_config() { if (is_array($_REQUEST['l_tag'])) { $_REQUEST['l_tag'] = implode(',', $_REQUEST['l_tag']); } if (is_array($_REQUEST['k_tag'])) { $_REQUEST['k_tag'] = implode(',', $_REQUEST['k_tag']); } if (is_array($_REQUEST['cnt'])) { $_REQUEST['cnt'] = implode(',', $_REQUEST['cnt']); } if (is_array($_REQUEST['src'])) { $_REQUEST['src'] = implode(',', $_REQUEST['src']); } // convert map in to a string, eg. '2=jobtitle,8=company,15=location,6=class,5=description' if (is_array($_REQUEST['map'])) { $str = ''; $comma = ''; foreach ($_REQUEST['map'] as $key => $val) { if ($_REQUEST['map'][$key]) { $str .= $comma . $val; $comma = ','; } } $_REQUEST['map'] = $str; } $_REQUEST['ad'] = base64_encode(stripslashes($_REQUEST['ad'])); # JBPLUG_save_config_variables ( string $class_name [, string $field_name [, string $...]] ) JBPLUG_save_config_variables($this->plugin_name, 'cnt', 'src', 'priority', 'l', 'k', 'id', 'l_tag', 'k_tag', 's', 'curl', 'proxy', 'c', 'map', 'ad', 'typ'); }
function save_config() { # JBPLUG_save_config_variables ( string $class_name [, string $field_name [, string $...]] ) JBPLUG_save_config_variables($this->plugin_name, 'priority', 'frame_border'); }