ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

Script object Module

The object is used for work with modules.

Object properties

Název Popis
object this[string code] Method returns object that provides module.
bool IsExistActive(string code) Function checks, whether module with the given code exists.
string GetModuleCode(string name) Function returns module code according to the defined code regardless version.
string GetModuleCode(string name, string version) Function returns module code according to the defined code and version.
void SendSMS(string phone, string message) Method sends SMS message.
bool IsAllowSendSMS Indication, whether module can send SMS.

Examples

Getting an object from module:

var o = OG.Module['code'];

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information