Implements interfaces:
[line 69]
[line 60]
[line 55]
[line 45]
[line 64]
[line 50]
WURFL_Handlers_Handler __construct( WURFL_Context $wurflContext, [WURFL_Request_UserAgentNormalizer_Interface $userAgentNormalizer = null])
string applyConclusiveMatch( string $userAgent)
Overridden in child classes as:
void applyExactMatch( $userAgent)
string applyMatch( WURFL_Request_GenericRequest $request)
string applyRecoveryCatchAllMatch( string $userAgent)
string applyRecoveryMatch( string $userAgent)
bool canHandle( string $userAgent)
null filter( string $userAgent, string $deviceID)
void getDeviceIDFromLD( $userAgent, [ $tolerance = null])
void getDeviceIDFromRIS( $userAgent, $tolerance)
string getName( )
void getNiceName( )
string getPrefix( )
array getUserAgentsWithDeviceId( )
bool isDeviceExist( string $deviceId)
string lookForMatchingUserAgent( string $userAgent)
string match( WURFL_Request_GenericRequest $request)
string normalizeUserAgent( string $userAgent)
If you need to normalize the user agent you need to override the function in the specific user agent handler.
void persistData( )
void setNextHandler( WURFL_Handlers_UserAgentHandler $handler)
void updateUserAgentsWithDeviceIDMap( string $userAgent, string $deviceID)
Before adding the user agent to the map it normalizes by using the normalizeUserAgent function.