lib/EarthIT/CMIPREST/Util.php
public static function fieldPropertyValue( EarthIT_Schema_Field $f, $propUri, $nonFakeDefault=null, $fakeDefault=null ) {
		$v = $f->getFirstPropertyValue($propUri);
		if( $v !== null ) return $v;
		
		$isFake = $f->getFirstPropertyValue(EarthIT_CMIPREST_NS::IS_FAKE_FIELD);
		return $isFake ? $fakeDefault : $nonFakeDefault;
	}
public static function fieldPropertyValue( EarthIT_Schema_Field $f, $propUri, $nonFakeDefault=null, $fakeDefault=null ) {
		$v = $f->getFirstPropertyValue($propUri);
		if( $v !== null ) return $v;
		
		$isFake = $f->getFirstPropertyValue(EarthIT_CMIPREST_NS::IS_FAKE_FIELD);
		return $isFake ? $fakeDefault : $nonFakeDefault;
	}
public static function fieldPropertyValue ( EarthIT_Schema_Field $ f , $ propUri , $ nonFakeDefault = null , $ fakeDefault = null ) { $ v = $ f -> getFirstPropertyValue ( $ propUri ) ; if ( $ v !== null ) return $ v ; $ isFake = $ f -> getFirstPropertyValue ( EarthIT_CMIPREST_NS :: IS_FAKE_FIELD ) ; return $ isFake ? $ fakeDefault : $ nonFakeDefault ; }
Get a field property value, taking into account
whether the field is fake or not, and defaults for either case.

@api
Get a field property value taking into account whether the field is fake or not and defaults for either case .