$value) { if(!is_array($_POST[$key])) { $_POST[$key] = $this->safeInput($value); } else { foreach($_POST[$key] as $subkey => $subvalue) { $_POST[$key][$subkey] = $this->safeInput($subvalue); } } } } } public function sanitizeGet() { if(is_array($_GET)) { foreach($_GET as $key => $value) { if(!is_array($_GET[$key])) { $_GET[$key] = $this->safeInput($value); } else { foreach($_GET[$key] as $subkey => $subvalue) { $_GET[$key][$subkey] = $this->safeInput($subvalue); } } } } } public function checkCheckbox($main, $needed) { foreach($needed AS $key => $value) { (isset($main[$value]) ? $main[$value] = 1 : $main[$value] = 0); } return $main; } public function prepareVarForSearch($id) { $id = '|'.$id.'|'; return $id; } public function thumbImage($image) { if(empty($image)) { $img = TEMPLATE_PATH.'img/logos/realityservis_logo_img.jpg'; } else { $img = $image; } return $img; } }Class 'Fundamentals' not defined in file 'lib_Fundamentals.php'!