lib/EarthIT/CMIPREST/RequestParser/Util.php
public static function parseFilter2( array $requestFilters, EarthIT_Schema_ResourceClass $rc, EarthIT_Schema $schema ) {
		$filterComponents = array();
		foreach( $requestFilters as $filter ) {
			$filterComponents[] = EarthIT_Storage_ItemFilters::parsePattern(
				$filter['fieldName'], $filter['pattern'],
				$rc, $schema, true );
		}
		return EarthIT_Storage_ItemFilters::anded($filterComponents);
	}
public static function parseFilter2( array $requestFilters, EarthIT_Schema_ResourceClass $rc, EarthIT_Schema $schema ) {
		$filterComponents = array();
		foreach( $requestFilters as $filter ) {
			$filterComponents[] = EarthIT_Storage_ItemFilters::parsePattern(
				$filter['fieldName'], $filter['pattern'],
				$rc, $schema, true );
		}
		return EarthIT_Storage_ItemFilters::anded($filterComponents);
	}
public static function parseFilter2 ( array $ requestFilters , EarthIT_Schema_ResourceClass $ rc , EarthIT_Schema $ schema ) { $ filterComponents = array ( ) ; foreach ( $ requestFilters as $ filter ) { $ filterComponents [ ] = EarthIT_Storage_ItemFilters :: parsePattern ( $ filter [ 'fieldName' ] , $ filter [ 'pattern' ] , $ rc , $ schema , true ) ; } return EarthIT_Storage_ItemFilters :: anded ( $ filterComponents ) ; }
Better than the first one!
Better than the first one!