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

      if (($this->DetectIphoneOrIpod() == $this->true)
			|| ($this->DetectAndroidPhone() == $this->true)
			|| ($this->DetectWindowsPhone() == $this->true)
			|| ($this->DetectBlackBerry10Phone() == $this->true)
			|| ($this->DetectPalmWebOS() == $this->true)
			|| ($this->DetectBada() == $this->true)
			|| ($this->DetectTizen() == $this->true)
			|| ($this->DetectFirefoxOSPhone() == $this->true)
			|| ($this->DetectSailfishPhone() == $this->true)
			|| ($this->DetectUbuntuPhone() == $this->true)
			|| ($this->DetectGamingHandheld() == $this->true))
         return $this->true; 
      
      //Note: BB10 phone is in the previous paragraph
      if (($this->DetectBlackBerryWebKit() == $this->true) &&
		($this->DetectBlackBerryTouch() == $this->true))
         return $this->true;
      
      else
         return $this->false; 
   }
function DetectTierIphone()
   {
      if ($this->initCompleted == $this->true ||
          $this->isTierIphone == $this->true)
         return $this->isTierIphone;

      if (($this->DetectIphoneOrIpod() == $this->true)
			|| ($this->DetectAndroidPhone() == $this->true)
			|| ($this->DetectWindowsPhone() == $this->true)
			|| ($this->DetectBlackBerry10Phone() == $this->true)
			|| ($this->DetectPalmWebOS() == $this->true)
			|| ($this->DetectBada() == $this->true)
			|| ($this->DetectTizen() == $this->true)
			|| ($this->DetectFirefoxOSPhone() == $this->true)
			|| ($this->DetectSailfishPhone() == $this->true)
			|| ($this->DetectUbuntuPhone() == $this->true)
			|| ($this->DetectGamingHandheld() == $this->true))
         return $this->true; 
      
      //Note: BB10 phone is in the previous paragraph
      if (($this->DetectBlackBerryWebKit() == $this->true) &&
		($this->DetectBlackBerryTouch() == $this->true))
         return $this->true;
      
      else
         return $this->false; 
   }
function DetectTierIphone ( ) { if ( $ this -> initCompleted == $ this -> true || $ this -> isTierIphone == $ this -> true ) return $ this -> isTierIphone ; if ( ( $ this -> DetectIphoneOrIpod ( ) == $ this -> true ) || ( $ this -> DetectAndroidPhone ( ) == $ this -> true ) || ( $ this -> DetectWindowsPhone ( ) == $ this -> true ) || ( $ this -> DetectBlackBerry10Phone ( ) == $ this -> true ) || ( $ this -> DetectPalmWebOS ( ) == $ this -> true ) || ( $ this -> DetectBada ( ) == $ this -> true ) || ( $ this -> DetectTizen ( ) == $ this -> true ) || ( $ this -> DetectFirefoxOSPhone ( ) == $ this -> true ) || ( $ this -> DetectSailfishPhone ( ) == $ this -> true ) || ( $ this -> DetectUbuntuPhone ( ) == $ this -> true ) || ( $ this -> DetectGamingHandheld ( ) == $ this -> true ) ) return $ this -> true ; //Note: BB10 phone is in the previous paragraph
 if ( ( $ this -> DetectBlackBerryWebKit ( ) == $ this -> true ) && ( $ this -> DetectBlackBerryTouch ( ) == $ this -> true ) ) return $ this -> true ; else return $ this -> false ; }
Includes iPhone, iPod Touch, Android, Windows Phone, BB10, Playstation Vita, etc.
Includes iPhone iPod Touch Android Windows Phone BB10 Playstation Vita etc .