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

Class: WurflSupport

Source Location: /WurflSupport.php

Class Overview


Provides static supporting functions for Tera-WURFL


Variables

Methods



Class Details

[line 20]
Provides static supporting functions for Tera-WURFL



[ Top ]


Class Variables

static $userAgentHeaders = array(
      'HTTP_X_DEVICE_USER_AGENT',
      'HTTP_X_ORIGINAL_USER_AGENT',
      'HTTP_X_OPERAMINI_PHONE_UA',
      'HTTP_X_SKYFIRE_PHONE',
      'HTTP_X_BOLT_PHONE_UA',
      'HTTP_USER_AGENT'
   )

[line 27]

The HTTP Headers that Tera-WURFL will look through to find the best User Agent, if one is not specified



Tags:

access:  public

Type:   Array


[ Top ]

$errors =

[line 22]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


static method formatBitrate [line 80]

static void formatBitrate( $bytes, $seconds)



Tags:

access:  public


Parameters:

   $bytes  
   $seconds  

[ Top ]

static method formatBytes [line 71]

static void formatBytes( $bytes)



Tags:

access:  public


Parameters:

   $bytes  

[ Top ]

static method getAcceptHeader [line 58]

static void getAcceptHeader( [ $source = null])



Tags:

access:  public


Parameters:

   $source  

[ Top ]

static method getUAProfile [line 67]

static void getUAProfile( )



Tags:

access:  public


[ Top ]

static method getUserAgent [line 42]

static void getUserAgent( [ $source = null])



Tags:

access:  public


Parameters:

   $source  

[ Top ]

static method showBool [line 91]

static void showBool( $var)



Tags:

access:  public


Parameters:

   $var  

[ Top ]

static method showLogLevel [line 96]

static void showLogLevel( $num)



Tags:

access:  public


Parameters:

   $num  

[ Top ]

constructor __construct [line 37]

WurflSupport __construct( )



Tags:

access:  public


[ Top ]


Documentation generated on Sun, 19 Sep 2010 00:16:09 +0000 by phpDocumentor 1.4.3