protected function _filter_int($value) { if (preg_match('#^[+-]?\\d+$#', $value) === 1) { return (int) $value; } else { return null; } }