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

Class: WURFL_Handlers_Filter

Source Location: /Handlers/Filter.php

Interface Overview


WURFL_Handlers_Filter is the base interface that concrete classes must implement to classify the devices by user agent and then persist the resulting datastructures.


Author(s):

Version:

  • $id$

Copyright:

  • ScientiaMobile, Inc.

Methods



Class Details

[line 31]
WURFL_Handlers_Filter is the base interface that concrete classes must implement to classify the devices by user agent and then persist the resulting datastructures.



Tags:

version:  $id$
copyright:  ScientiaMobile, Inc.
license:  GNU


[ Top ]


Class Methods


method filter [line 41]

void filter( string $userAgent, string $deviceID)

The filter() method is used to classify devices based on patterns in their user agents.



Tags:

access:  public


Parameters:

string   $userAgent   User Agent of the device
string   $deviceID   id of the the device

[ Top ]

method persistData [line 48]

void persistData( )

The persistData() method is resposible to

saving the classification output(associative arrays that holds <userAgent, deviceID> pair))




Tags:

access:  public


[ Top ]


Documentation generated on Fri, 30 Mar 2012 17:16:58 -0400 by phpDocumentor 1.4.4