public static function FeedImport::processXMLReaderValidate in Feed Import 7.2
Callback for validating processXmlReader settings
File
- ./
feed_import.inc.php, line 1503 - Feed import class for parsing and processing content.
Class
- FeedImport
- @file Feed import class for parsing and processing content.
Code
public static function processXMLReaderValidate($field, $value, $default = NULL) {
$value = (int) $value;
if ($value <= 0) {
return $default;
}
return $value;
}