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

Source for file WurflConstants.php

Documentation is available at WurflConstants.php

  1. <?php
  2. /**
  3.  * Tera_WURFL - PHP MySQL driven WURFL
  4.  * 
  5.  * Tera-WURFL was written by Steve Kamerman, and is based on the
  6.  * Java WURFL Evolution package by Luca Passani and WURFL PHP Tools by Andrea Trassati.
  7.  * This version uses a MySQL database to store the entire WURFL file, multiple patch
  8.  * files, and a persistent caching mechanism to provide extreme performance increases.
  9.  * 
  10.  * @package TeraWurfl
  11.  * @author Steve Kamerman <stevekamerman AT gmail.com>
  12.  * @version Stable 2.1.3 $Date: 2010/09/18 15:43:21
  13.  * @license http://www.mozilla.org/MPL/ MPL Vesion 1.1
  14.  */
  15. /**
  16.  * Provides global access to Tera-WURFL Constants
  17.  * @package TeraWurfl
  18.  *
  19.  */
  20.     
  21.     public static $GENERIC "generic";
  22.     public static $GENERIC_XHTML "generic_xhtml";
  23.     public static $GENERIC_WEB_BROWSER "generic_web_browser";
  24.     public static $SIMPLE_DESKTOP_UA "TeraWurflSimpleDesktopMatcher/";
  25.     
  26.     public static $ACCEPT_HEADER_VND_WAP_XHTML_XML "application/vnd.wap.xhtml+xml";
  27.     public static $ACCEPT_HEADER_XHTML_XML "application/xhtml+xml";
  28.     public static $ACCEPT_HEADER_TEXT_HTML "application/text+html";
  29.  
  30.     public static $XHTML "xhtml";
  31.     
  32.     public static $XHTML_ADVANCED "xhtml_level_3_4";
  33.     public static $XHTML_SIMPLE "xhtml_level_1_2";
  34.     public static $WML "xhtml_level_-1_0";
  35.  
  36.     public static $XHTML_SUPPORT_LEVEL "xhtml_support_level";
  37.     public static $RESOLUTION_WIDTH "resolution_width";
  38.     
  39.     /**
  40.      * These mobile browser strings will be compared case-insensitively, so keep them all lowercase for faster searching
  41.      * @var Array MOBILE_BROWSERS
  42.      */
  43.     public static $MOBILE_BROWSERS array('cldc','symbian','midp','j2me','mobile','wireless','palm','phone','pocket pc','pocketpc',
  44.         'netfront','bolt','iris','brew','openwave','windows ce','wap2.','android','opera mini','opera mobi','maemo','fennec','blazer','vodafone');
  45.     public static $DESKTOP_BROWSERS array('slcc1','.net clr','trident/4','media center pc','funwebproducts','macintosh','wow64','aol 9.','america online browser','googletoolbar');
  46.     public static $ROBOTS array('bot','crawler','spider','novarra','transcoder','yahoo! searchmonkey','yahoo! slurp','feedfetcher-google','toolbar','mowser');
  47.     
  48.     public function __construct(){
  49.         
  50.     }
  51. }

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