Difference between revisions of "ISPHONEGAP()"

From Lianjapedia
Jump to: navigation, search
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[ISSERVER()]], [[PHONEGAPPLATFORM()]], [[PHONEGAPVERSION()]]
+
[[ISSERVER()]], [[PHONEGAPDEVICE()]], [[PHONEGAPPLATFORM()]], [[PHONEGAPVERSION()]]
  
 
==Description==
 
==Description==

Revision as of 11:36, 21 October 2015

Purpose

Function which can be used in .rsp pages and/or server-side procedures to determine if the current client is a mobile device

Syntax

ISPHONEGAP()

See Also

ISSERVER(), PHONEGAPDEVICE(), PHONEGAPPLATFORM(), PHONEGAPVERSION()

Description

The ISPHONEGAP() function returns .T. (True) if the current client is a mobile device, otherwise .F. (False).

Example

if isPhoneGap()
   // called from mobile device client
endif