Difference between revisions of "QAS getParameters"

From Catglobe Wiki
Jump to: navigation, search
(Return type)
(Examples)
Line 23: Line 23:
  
 
<source lang="javascript">
 
<source lang="javascript">
 +
//Link of the qas : http://cg.catglobe.com/Login.aspx?r=1a997688-4a8f-43c2-bfaf-cdf3b0226678&test=1&signup=454&point=100
 
Dictionary parameters = QAS_getParameters();  // Must be used in a specific QAS context
 
Dictionary parameters = QAS_getParameters();  // Must be used in a specific QAS context
 
print(parameters.ToString());                // Result:    {"test":1,"signup":454,"point":100}
 
print(parameters.ToString());                // Result:    {"test":1,"signup":454,"point":100}
 
</source>
 
</source>

Revision as of 11:02, 29 December 2011

QAS_getParameters

This function will get all parameters that passed into a specific QAS. This function must be used in a specific QAS context.

Syntax

QAS_getParameters()

Arguments

none

Return type

A dictionary

  • The parameter name will be the key in the keypairs of dictionary.
  • The value of parameter will be the value in the value pairs of dictionary

See also

  • getParameter()

Examples

//Link of the qas : http://cg.catglobe.com/Login.aspx?r=1a997688-4a8f-43c2-bfaf-cdf3b0226678&test=1&signup=454&point=100
Dictionary parameters = QAS_getParameters();  // Must be used in a specific QAS context
print(parameters.ToString());                 // Result:     {"test":1,"signup":454,"point":100}