51Degrees Pipeline for PHP

Classes

51Degrees PHP classes. These contain the interfaces and logic of the Pipeline API.
 Nfiftyone
 Npipeline
 Ncloudrequestengine
 CCloudEngineThis is a template for all 51Degrees cloud engines
 CCloudRequestEngine
 CCloudRequestExceptionContains details about exceptions that occur when making requests to the cloud service
 CConstants
 CHttpClient
 Ncore
 CAspectPropertyValue
 CBasicListEvidenceKeyFilterAn instance of EvidenceKeyFilter that uses a simple array of keys Evidence not using these keys is filtered out
 CCallbackUrlThe callback URL the client script posts to for updated JSON
 CConstantsClass containing project's constants
 CElementDataStores information created by a FlowElement based on FlowData
 CElementDataDictionaryAn extension of ElementData with dictionary object storage / lookup
 CEvidenceStorage of evidence on a FlowData object
 CEvidenceKeyFilter
 CFlowData
 CFlowElementA FlowElement is placed inside a Pipeline It receives Evidence via a FlowData object It uses this to optionally create ElementData on the FlowData It has a unique dataKey which is used to extract data from the FlowData Any errors in processing are caught in the FlowData's errors object
 CJavascriptBuilderElementThe JavaScriptBuilder aggregates JavaScript properties from FlowElements in the Pipeline
 CJsonBundlerElementThe JSONBundler aggregates all properties from FlowElements into a JSON object It is used for retrieving via an endpoint from the client side via the JavaScriptBuilder and also used inside the JavaScriptBuilder itself to pass properties to the client side
 CLoggerLogging for a Pipeline
 CMessagesConstants used for messages returned to the user
 CPipelinePipeline holding a list of FlowElements for processing, can create FlowData that will be passed through these, collecting ElementData Should be constructed through the PipelineBuilder class
 CPipelineBuilderA PipelineBuilder generates a Pipeline object Before construction of the Pipeline, FlowElements are added to it There are also options for how JavaScript is output from the Pipeline
 CSequenceElementThe SequenceElement stores session data regarding requests for client side JavaScript from the JavaScript created by a Pipeline's JavaScriptBuilder If a Pipeline is constructed with the JavaScript elements enabled this is added automatically along with the JavaScriptBuilder and JSONBundler
 CSetHeaderElementSet response headers element class
 CUtils
 Ndevicedetection
 CConstantsConstants which may be reused by the API
 CDeviceDetectionCloud
 CDeviceDetectionOnPremise
 CDeviceDetectionPipelineBuilderExtension of pipelineBuilder class that allows for the quick generation of a device detection pipeline
 CHardwareProfileCloud
 CMessagesMessages which may be reused by the API
 CSwigData
 CSwigHelpers
 Ndid
 CCloudExceptionThe cloud answered with a status the client does not turn into a result
 CDidClientClient for every manipulation of a 51Did a server needs against the 51Degrees cloud, so server code never hand-writes HTTP or key handling
 CFodIdA strongly typed reader for the 51Did (51Degrees Identifier) returned by the 51Degrees Cloud service
 CFodIdLayoutThe byte offsets and lengths of the 51Did payload, for this package and its tests only
 CFodIdParseResultWhat reading a 51Did produced, and why
 CNotSupportedExceptionThe host answering does not offer the creator context (the redeem endpoint answered 404)
 CPublicKeyOne entry of the 51Did signing key schedule as the cloud publishes it
 CRedeemResultThe typed answer to {
 Nengines
 CAspectData
 CAspectDataDictionaryAspectData class extension that stores content as an array Similar to ElementDataDictionary in the Pipeline core library
 CCloudEngineBaseIntermediary between Engine and CloudEngine classes
 CDataKeyedCacheA simple cache class which has a get and set method Can be added to an engine to cache its results for specific evidence This base class needs to be extended to form an actual cache
 CEngineAn engine is an extension of the Pipeline Core flowElement class It allows for a cache, restricted properties and meaningful errors when a property isn't available via the aspect data missingPropertyService
 CMissingPropertyMessagesMessages which may be reused for various missing property exceptions
 CMissingPropertyReasonEnumeration of reasons why a property may be missing from the results of an Engine's processing
 CMissingPropertyServiceA missing property service runs when a property is not available in the aspectData
 CSessionCacheAn extension of the cache class that stores a cache in a user's session if PHP sessions are active
 CTrackerThe tracker class extends the cache class with a track method that checks if a key is in the cache and runs a match method on the result if it is found in the cache
 Ngeolocation
 CGeoLocationCloud
 CGeoLocationPipelineBuilderExtension of pipelineBuilder class that allows for the quick generation of a geolocation pipeline
 Nipintelligence
 Ntranslation
 CConstants
 CCountriesTranslationEngineEngine 2: translates the weighted English country names from Engine 1 into the browser language, and builds the complete ordered "All" lists used by the country dropdown
 CCountriesTranslationEngineBuilderBuilder for CountriesTranslationEngine
 CCountryCodeTranslationEngineEngine 1: translates the weighted ISO country codes emitted by the IP intelligence engine (CountryCodesGeographical / CountryCodesPopulation) into weighted English country names (CountryNamesGeographical / CountryNamesPopulation), using countrycodes.en_GB.yml
 CCountryCodeTranslationEngineBuilderBuilder for CountryCodeTranslationEngine
 CTranslationPathsLocates the country translation YAML files, which ship in the ip-intelligence folder of the data repository, and loads them
 CConstants
 CIpIntelligenceCloudThe IP intelligence cloud engine requires the 51Degrees CloudRequestEngine to be placed in a pipeline before it
 CIpIntelligenceOnPremiseThe on-premise IP intelligence engine uses a local data file (.ipi) to generate a set of properties about an IP address supplied as evidence
 CIpIntelligenceOnPremisePipelineBuilderBuilds a Pipeline that uses the on-premise IP intelligence engine to look up IP intelligence data from a local data file
 CIpIntelligencePipelineBuilderThe IpIntelligencePipelineBuilder builds a Pipeline that uses the 51Degrees cloud service to look up IP intelligence data
 CMessages
 CSwigDataExtension of AspectData for retrieving results created by the SWIG wrapper of the on-premise IP intelligence engine
 CSwigHelpers
 Ntranslation
 CLanguagesHelpers for parsing an HTTP Accept-Language value and resolving it to one of the locales for which a translation map is available
 CMissingTranslationBehaviorHow a translation engine behaves when there is no translation for a given value
 CTranslationEngineGeneric translation engine
 CTranslatorTranslates values using a single locale's translation map
 CYamlMapMinimal parser for the flat "key: value" YAML maps used by the country translation files