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

Class: WURFL_Handlers_Matcher_Interface

Source Location: /Handlers/Matcher/Interface.php

Interface Overview

WURFL user agent matcher interface


Class Details

[line 22]
WURFL user agent matcher interface

[ Top ]

Class Methods

method match [line 31]

string match( &$collection, string $needle, int $tolerance, array $collection)

Attempts to find a matching $needle in given $collection within the specified $tolerance


return:  matched user agent
access:  public


array   $collection   Collection of user agents
string   $needle   User agent to search for
int   $tolerance   Minimum accuracy to be considered a match

[ Top ]

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