public function data($name, $filter = FILTER_DEFAULT, $flag = NULL) {
        $data = $flag ? filter_input(INPUT_POST, $name, $filter, $flag) : filter_input(INPUT_POST, $name, $filter);
        return $data;
    }