\r\n

51Degrees Device Detection On-Premise PHP  4.3

Device detection services for 51Degrees Pipeline

fiftyone\pipeline\core\EvidenceKeyFilter Class Reference

Detailed Description

An evidence key filter is added to a FlowElement It tells the Pipeline which evidence it is interested in This can be used to determine whether a request can be cached Or to filter out evidence not needed by any element in a Pipeline This base class is always extended for a specific filter type.

Inheritance diagram for fiftyone\pipeline\core\EvidenceKeyFilter:

[legend]

Public Member Functions

 filterEvidence ($evidenceKeyObject)
filterevidence from an object More...
 filterEvidenceKey ($key)
see if a property key should be in the filtered evidence More...
 filterEvidence ($evidenceKeyObject)
filterevidence from an object More...
 filterEvidenceKey ($key)
see if a property key should be in the filtered evidence More...

Member Function Documentation

◆ filterEvidence() [1/2]

fiftyone\pipeline\core\EvidenceKeyFilter::filterEvidence (   $evidenceKeyObject )

filterevidence from an object

Parameters
mixed[] - evidence dicitonary contents
Returns
mixed[] filtered evidence dictionary contents

◆ filterEvidence() [2/2]

fiftyone\pipeline\core\EvidenceKeyFilter::filterEvidence (   $evidenceKeyObject )

filterevidence from an object

Parameters
mixed[] - evidence dicitonary contents
Returns
mixed[] filtered evidence dictionary contents

◆ filterEvidenceKey() [1/2]

fiftyone\pipeline\core\EvidenceKeyFilter::filterEvidenceKey (   $key )

see if a property key should be in the filtered evidence

Parameters
string - property name
Returns
boolean should this be filtered out or not?

◆ filterEvidenceKey() [2/2]

fiftyone\pipeline\core\EvidenceKeyFilter::filterEvidenceKey (   $key )

see if a property key should be in the filtered evidence

Parameters
string - property name
Returns
boolean should this be filtered out or not?