Difference between revisions of "PHONEGAPVERSION()"

From Lianjapedia
Jump to: navigation, search
(Created page with "==Purpose== Function which can be used in .rsp pages and/or server-side procedures to determine the PhoneGap build version if the current client is a mobile device ==Syntax==...")
 
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[ISPHONEGAP()]], [[ISSERVER()]], [[PHONEGAPPLATFORM()]]
+
[[ISPHONEGAP()]], [[ISSERVER()]], [[PHONEGAPDEVICE()]], [[PHONEGAPPLATFORM()]]
  
 
==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 the PhoneGap build version if the current client is a mobile device

Syntax

PHONEGAPVERSION()

See Also

ISPHONEGAP(), ISSERVER(), PHONEGAPDEVICE(), PHONEGAPPLATFORM()

Description

The PHONEGAPVERSION() function returns the PhoneGap build version as a string if the current client is a mobile device, otherwise an empty string.

Example

cBuildver = phoneGapVersion()
if empty(cBuildver)
   // not called from mobile client
endcase