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

Class: WURFL_Handlers_WindowsPhoneHandler

Source Location: /Handlers/WindowsPhoneHandler.php

Class Overview

WURFL_Handlers_Handler
   |
   --WURFL_Handlers_WindowsPhoneHandler

WindowsPhoneUserAgentHandler


Author(s):

Version:

  • $id$

Copyright:

  • ScientiaMobile, Inc.

Variables

Methods


Inherited Variables

Inherited Methods

Class: WURFL_Handlers_Handler

WURFL_Handlers_Handler::__construct()
WURFL_Handlers_Handler::applyConclusiveMatch()
Attempt to find a conclusive match for the given $userAgent
WURFL_Handlers_Handler::applyExactMatch()
WURFL_Handlers_Handler::applyMatch()
Template method to apply matching system to user agent
WURFL_Handlers_Handler::applyRecoveryCatchAllMatch()
Applies Catch-All match
WURFL_Handlers_Handler::applyRecoveryMatch()
Applies Recovery Match
WURFL_Handlers_Handler::canHandle()
Returns true if this handler can handle the given $userAgent
WURFL_Handlers_Handler::filter()
Classifies the given $userAgent and specified $deviceID
WURFL_Handlers_Handler::getDeviceIDFromLD()
WURFL_Handlers_Handler::getDeviceIDFromRIS()
WURFL_Handlers_Handler::getName()
Alias for getPrefix()
WURFL_Handlers_Handler::getNiceName()
WURFL_Handlers_Handler::getPrefix()
Returns the prefix for this Handler, like BLACKBERRY_DEVICEIDS for the BlackBerry Handler. The "BLACKBERRY_" portion comes from the individual Handler's $prefix property and "_DEVICEIDS" is added here.
WURFL_Handlers_Handler::getUserAgentsWithDeviceId()
Returns a list of User Agents with their Device IDs
WURFL_Handlers_Handler::isDeviceExist()
Returns true if given $deviceId exists
WURFL_Handlers_Handler::lookForMatchingUserAgent()
Find a matching WURFL device from the given $userAgent. Override this method to give an alternative way to do the matching
WURFL_Handlers_Handler::match()
Finds the device id for the given request - if it is not found it delegates to the next available handler
WURFL_Handlers_Handler::normalizeUserAgent()
Normalizes the given $userAgent using this handler's User Agent Normalizer.
WURFL_Handlers_Handler::persistData()
Saves the classified user agents in the persistence provider
WURFL_Handlers_Handler::setNextHandler()
Sets the next Handler
WURFL_Handlers_Handler::setupContext()
WURFL_Handlers_Handler::updateUserAgentsWithDeviceIDMap()
Updates the map containing the classified user agents. These are stored in the associative array userAgentsWithDeviceID like user_agent => deviceID.
WURFL_Handlers_Handler::__sleep()

Class Details

[line 30]
WindowsPhoneUserAgentHandler



Tags:

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


[ Top ]


Class Variables

static $constantIDs = array(
      'generic_ms_winmo6_5',
      'generic_ms_phone_os7',
      'generic_ms_phone_os7_5',
      'generic_ms_phone_os8',
   )

[line 34]



Tags:

access:  public

Type:   mixed
Overrides:   Array


[ Top ]

$prefix =  "WINDOWSPHONE"

[line 32]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


static method getWindowsPhoneAdClientModel [line 106]

static void getWindowsPhoneAdClientModel( $ua)



Tags:

access:  public


Parameters:

   $ua  

[ Top ]

static method getWindowsPhoneAdClientVersion [line 126]

static void getWindowsPhoneAdClientVersion( $ua)



Tags:

access:  public


Parameters:

   $ua  

[ Top ]

static method getWindowsPhoneModel [line 74]

static void getWindowsPhoneModel( $ua)



Tags:

access:  public


Parameters:

   $ua  

[ Top ]

static method getWindowsPhoneVersion [line 119]

static void getWindowsPhoneVersion( $ua)



Tags:

access:  public


Parameters:

   $ua  

[ Top ]

method applyConclusiveMatch [line 46]

void applyConclusiveMatch( $userAgent)



Tags:

access:  public


Overrides WURFL_Handlers_Handler::applyConclusiveMatch() (Attempt to find a conclusive match for the given $userAgent)

Parameters:

   $userAgent  

[ Top ]

method applyRecoveryMatch [line 59]

void applyRecoveryMatch( $userAgent)



Tags:

access:  public


Overrides WURFL_Handlers_Handler::applyRecoveryMatch() (Applies Recovery Match)

Parameters:

   $userAgent  

[ Top ]

method canHandle [line 41]

void canHandle( $userAgent)



Tags:

access:  public


Overrides WURFL_Handlers_Handler::canHandle() (Returns true if this handler can handle the given $userAgent)

Parameters:

   $userAgent  

[ Top ]


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