set_app_info
set_app_info($appName="", $appCodeName="", $appMinorVersion="", $product="", $productSub="", $vendor="", $vendorSub=""); - set data about the APP in the JS engine. Sets navigator (appName,appCodeName,appMinorVersion,product,productSub) (Available from version 4.10.1)
The function accepts parameters as input:br>
$appName is the name of the application navigator.appName empty string - uses the default value$appCodeName – the code name of the application navigator.appCodeName, if empty string - uses the default value$appMinorVersion – the minor version of the application navigator.appMinorVersion, with empty string - use the default value$product is the name of the product navigator.product with empty string - uses the default value$productSub – the sub name of product navigator.productSub, if empty string - uses the default value$vendor – navigator.vendor, if an empty string is used, the default value is used, and is available from version 7.0.42$vendorSub – navigator.vendorSub, when an empty string is used - the default value is used, available from version 7.0.42
After testing, the function returns the result of its work to the script :
true – successfully setfalse – failed to set