hallo,
also vorhanden sind die zeilen:
// create update sql
if (count($p_arr_update) > 0) {
$l_strSql =
"UPDATE `isys_obj_type` SET ".
"isys_obj_type__title = '".
$p_arr_update['C__OBJTYPE__TITLE']."' ,".
"isys_obj_type__isys_obj_type_group__id = ".
$this->convert_sql_id(
$p_arr_update['C__OBJTYPE__GROUP_ID'])." ,".
"isys_obj_type__isysgui_cats__id = ".
$this->convert_sql_id(
$p_arr_update['C__OBJTYPE__CATS_ID'])." ,".
" isys_obj_type__description = ".
[color][font]$this->convert_sql_text([/font][/color]
$p_arr_update['["C__OBJTYPE__DESCRIPTION'])." ,".
" isys_obj_type__selfdefined = '".
$p_arr_update['C__OBJTYPE__SELF_DEFINED']."' ,".
" isys_obj_type__container = '".
$p_arr_update['C__OBJTYPE__IS_CONTAINER']."' ,".
" isys_obj_type__show_in_tree = '".
$p_arr_update['C__OBJTYPE__SHOW_IN_TREE']."' ,".
" isys_obj_type__idoit_obj_type_number = '".
$p_arr_update['C__OBJTYPE__TYPE_NUMBER']."' ,".
" isys_obj_type__obj_img_name = '".
$p_arr_update['C__OBJTYPE__IMG_NAME']."' ,".
" isys_obj_type__const = '".
$p_arr_update['C__OBJTYPE__CONST']."' ";
$l_strSql.=
"WHERE `isys_obj_type__id` = ".
"'".$l_nObjTypeID."';";
$l_bRet = $this->update($l_strSql);
}
public function [color]convert_sql_text[/color]($p_value)
{
$l_strRetCode = "'".$this->m_db->escape_string(($p_value))."'";
return $l_strRetCode;
}
"(".
"DEFAULT, ".
$this->convert_sql_id(C__GLOBAL_CATEGORY__OTHER).", ".
"@C__CATG__GLOBAL, ".
"NULL, ".
$[color]this->convert_sql_text[/color]($l_strTitle).", ".
"NULL, ".
"NULL, ".
"NULL, ".
$t[color]his->convert_sql_text[/color]($l_str_sysid).", ".
"'".$p_record_status."'".
");";