_DB = DB::get_instance(); } protected function input(&$data){ foreach($data as $key => &$value){ if(!array_key_exists($key, $this->_safe_input)){ unset($value); } } } }