WURFL
[ class tree: WURFL ] [ index: WURFL ] [ all elements ]

Class: WURFL_UserAgentHandlerChain

Source Location: /UserAgentHandlerChain.php

Class Overview


Handles the chain of WURFL_Handlers_Handler objects


Author(s):

Methods



Class Details

[line 24]
Handles the chain of WURFL_Handlers_Handler objects



Tags:



[ Top ]


Class Methods


method addUserAgentHandler [line 37]

WURFL_UserAgentHandlerChain addUserAgentHandler( WURFL_Handlers_Handler $handler)

Adds a WURFL_Handlers_Handler to the chain



Tags:

access:  public


Parameters:

WURFL_Handlers_Handler   $handler  

[ Top ]

method collectData [line 93]

array collectData( )

Collect data



Tags:

return:  data
access:  public


[ Top ]

method filter [line 60]

void filter( String $userAgent, String $deviceID)

Adds the pair $userAgent, $deviceID to the clusters they belong to.



Tags:

see:  WURFL_Handlers_Handler::filter()
access:  public


Parameters:

String   $userAgent  
String   $deviceID  

[ Top ]

method getHandlers [line 49]

array getHandlers( )



Tags:

return:  An array of all the WURFL_Handlers_Handler objects
access:  public


[ Top ]

method match [line 73]

String match( WURFL_Request_GenericRequest $request)

Return the the device id for the request



Tags:

return:  deviceID
access:  public


Parameters:

WURFL_Request_GenericRequest   $request  

[ Top ]

method persistData [line 82]

void persistData( )

Save the data from each WURFL_Handlers_Handler



Tags:

see:  WURFL_Handlers_Handler::persistData()
access:  public


[ Top ]


Documentation generated on Thu, 03 Oct 2013 19:11:56 +0000 by phpDocumentor 1.4.4