PHP/mdetect.php
function InitDeviceScan()
   {
        //Save these properties to speed processing
        global $isWebkit, $isIphone, $isAndroid, $isAndroidPhone;
        $this->isWebkit = $this->DetectWebkit();
        $this->isIphone = $this->DetectIphone();
        $this->isAndroid = $this->DetectAndroid();
        $this->isAndroidPhone = $this->DetectAndroidPhone();
        
        //These tiers are the most useful for web development
        global $isMobilePhone, $isTierTablet, $isTierIphone;
        $this->isMobilePhone = $this->DetectMobileQuick();
        $this->isTierIphone = $this->DetectTierIphone();
        $this->isTierTablet = $this->DetectTierTablet();
        
        //Optional: Comment these out if you NEVER use them.
        global $isTierRichCss, $isTierGenericMobile;
        $this->isTierRichCss = $this->DetectTierRichCss();
        $this->isTierGenericMobile = $this->DetectTierOtherPhones();
        
        $this->initCompleted = $this->true;
   }
function InitDeviceScan()
   {
        //Save these properties to speed processing
        global $isWebkit, $isIphone, $isAndroid, $isAndroidPhone;
        $this->isWebkit = $this->DetectWebkit();
        $this->isIphone = $this->DetectIphone();
        $this->isAndroid = $this->DetectAndroid();
        $this->isAndroidPhone = $this->DetectAndroidPhone();
        
        //These tiers are the most useful for web development
        global $isMobilePhone, $isTierTablet, $isTierIphone;
        $this->isMobilePhone = $this->DetectMobileQuick();
        $this->isTierIphone = $this->DetectTierIphone();
        $this->isTierTablet = $this->DetectTierTablet();
        
        //Optional: Comment these out if you NEVER use them.
        global $isTierRichCss, $isTierGenericMobile;
        $this->isTierRichCss = $this->DetectTierRichCss();
        $this->isTierGenericMobile = $this->DetectTierOtherPhones();
        
        $this->initCompleted = $this->true;
   }
function InitDeviceScan ( ) { //Save these properties to speed processing
 global $ isWebkit , $ isIphone , $ isAndroid , $ isAndroidPhone ; $ this -> isWebkit = $ this -> DetectWebkit ( ) ; $ this -> isIphone = $ this -> DetectIphone ( ) ; $ this -> isAndroid = $ this -> DetectAndroid ( ) ; $ this -> isAndroidPhone = $ this -> DetectAndroidPhone ( ) ; //These tiers are the most useful for web development
 global $ isMobilePhone , $ isTierTablet , $ isTierIphone ; $ this -> isMobilePhone = $ this -> DetectMobileQuick ( ) ; $ this -> isTierIphone = $ this -> DetectTierIphone ( ) ; $ this -> isTierTablet = $ this -> DetectTierTablet ( ) ; //Optional: Comment these out if you NEVER use them.
 global $ isTierRichCss , $ isTierGenericMobile ; $ this -> isTierRichCss = $ this -> DetectTierRichCss ( ) ; $ this -> isTierGenericMobile = $ this -> DetectTierOtherPhones ( ) ; $ this -> initCompleted = $ this -> true ; }
Initialize Key Stored Values.
Initialize Key Stored Values .