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

Class: WURFL_Handlers_UcwebU3Handler

Source Location: /Handlers/UcwebU3Handler.php

Class Overview

WURFL_Handlers_Handler
   |
   --WURFL_Handlers_UcwebU3Handler

UcwebU3UserAgentHandler


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]
UcwebU3UserAgentHandler



Tags:

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


[ Top ]


Class Variables

static $constantIDs = array(
      'generic_ucweb',
      
      'generic_ucweb_android_ver1',
      'generic_ucweb_android_ver2',
      'generic_ucweb_android_ver3',
      'generic_ucweb_android_ver4',
      'generic_ucweb_android_ver5',
      
      'apple_iphone_ver1_subuaucweb',
      'apple_iphone_ver2_subuaucweb',
      'apple_iphone_ver3_subuaucweb',
      'apple_iphone_ver4_subuaucweb',
      'apple_iphone_ver5_subuaucweb',
      'apple_iphone_ver6_subuaucweb',
      'apple_iphone_ver7_subuaucweb',
      
      'apple_ipad_ver1_subuaucweb',
      'apple_ipad_ver1_sub4_subuaucweb',
      'apple_ipad_ver1_sub5_subuaucweb',
      'apple_ipad_ver1_sub6_subuaucweb',
      'apple_ipad_ver1_sub7_subuaucweb',
   )

[line 34]



Tags:

access:  public

Type:   mixed
Overrides:   Array


[ Top ]

$prefix =  "UCWEBU3"

[line 32]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


static method getUcAndroidModel [line 140]

static void getUcAndroidModel( $ua, [ $use_default = true])



Tags:

access:  public


Parameters:

   $ua  
   $use_default  

[ Top ]

static method getUcAndroidVersion [line 128]

static void getUcAndroidVersion( $ua, [ $use_default = true])



Tags:

access:  public


Parameters:

   $ua  
   $use_default  

[ Top ]

static method getUcBrowserVersion [line 119]

static void getUcBrowserVersion( $ua, [ $use_default = true])



Tags:

access:  public


Parameters:

   $ua  
   $use_default  

[ Top ]

method applyConclusiveMatch [line 63]

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 72]

void applyRecoveryMatch( $userAgent)



Tags:

access:  public


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

Parameters:

   $userAgent  

[ Top ]

method canHandle [line 58]

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:55 +0000 by phpDocumentor 1.4.4