PHP/mdetect.php
function DetectMobileQuick()
   {
      if ($this->initCompleted == $this->true ||
          $this->isMobilePhone == $this->true)
         return $this->isMobilePhone;

      //Let's exclude tablets
      if ($this->isTierTablet == $this->true) 
         return $this->false;
      
      //Most mobile browsing is done on smartphones
      if ($this->DetectSmartphone() == $this->true) 
         return $this->true;

      //Catch-all for many mobile devices
      if (stripos($this->useragent, $this->mobile) > -1)
         return $this->true; 

      if ($this->DetectOperaMobile() == $this->true)
         return $this->true;

      //We also look for Kindle devices
      if ($this->DetectKindle() == $this->true ||
         $this->DetectAmazonSilk() == $this->true) 
         return $this->true;

      if (($this->DetectWapWml() == $this->true) 
      		|| ($this->DetectMidpCapable() == $this->true)
			|| ($this->DetectBrewDevice() == $this->true))
         return $this->true;
          
      if ((stripos($this->useragent, $this->engineNetfront) > -1)
			|| (stripos($this->useragent, $this->engineUpBrowser) > -1))
         return $this->true; 
         
      return $this->false; 
   }
function DetectMobileQuick()
   {
      if ($this->initCompleted == $this->true ||
          $this->isMobilePhone == $this->true)
         return $this->isMobilePhone;

      //Let's exclude tablets
      if ($this->isTierTablet == $this->true) 
         return $this->false;
      
      //Most mobile browsing is done on smartphones
      if ($this->DetectSmartphone() == $this->true) 
         return $this->true;

      //Catch-all for many mobile devices
      if (stripos($this->useragent, $this->mobile) > -1)
         return $this->true; 

      if ($this->DetectOperaMobile() == $this->true)
         return $this->true;

      //We also look for Kindle devices
      if ($this->DetectKindle() == $this->true ||
         $this->DetectAmazonSilk() == $this->true) 
         return $this->true;

      if (($this->DetectWapWml() == $this->true) 
      		|| ($this->DetectMidpCapable() == $this->true)
			|| ($this->DetectBrewDevice() == $this->true))
         return $this->true;
          
      if ((stripos($this->useragent, $this->engineNetfront) > -1)
			|| (stripos($this->useragent, $this->engineUpBrowser) > -1))
         return $this->true; 
         
      return $this->false; 
   }
function DetectMobileQuick ( ) { if ( $ this -> initCompleted == $ this -> true || $ this -> isMobilePhone == $ this -> true ) return $ this -> isMobilePhone ; //Let's exclude tablets
 if ( $ this -> isTierTablet == $ this -> true ) return $ this -> false ; //Most mobile browsing is done on smartphones
 if ( $ this -> DetectSmartphone ( ) == $ this -> true ) return $ this -> true ; //Catch-all for many mobile devices
 if ( stripos ( $ this -> useragent , $ this -> mobile ) > - 1 ) return $ this -> true ; if ( $ this -> DetectOperaMobile ( ) == $ this -> true ) return $ this -> true ; //We also look for Kindle devices
 if ( $ this -> DetectKindle ( ) == $ this -> true || $ this -> DetectAmazonSilk ( ) == $ this -> true ) return $ this -> true ; if ( ( $ this -> DetectWapWml ( ) == $ this -> true ) || ( $ this -> DetectMidpCapable ( ) == $ this -> true ) || ( $ this -> DetectBrewDevice ( ) == $ this -> true ) ) return $ this -> true ; if ( ( stripos ( $ this -> useragent , $ this -> engineNetfront ) > - 1 ) || ( stripos ( $ this -> useragent , $ this -> engineUpBrowser ) > - 1 ) ) return $ this -> true ; return $ this -> false ; }
as well as smartphone-class devices. Excludes Apple iPads and other modern tablets.
as well as smartphone - class devices . Excludes Apple iPads and other modern tablets .