Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Qualification getLevelForUsers: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{HelpFiles}}
FunctionInformation FunctionInformation {{Function_Template|Name=Qualification_getLevelForUsers|ReturnType=Dictionary
|Parameters=
|Name=user resource ids|ConstantType=Array,
|Name=qualification id|ConstantType=Number|IsInteger=1|IsPositive=1,
|Name=min level|ConstantType=Number|IsInteger=1,
|Name=max level|ConstantType=Number|IsInteger=1
}}


==== Qualification_getLevelForUsers ====
<br/>Dictionary a = Qualification_getLevelForUsers({14829320},1,1,10); print(a);


Get information about min level and max level of users


'''Syntax'''


Dictionary a = Qualification_getLevelForUsers(array list_rids, number qualification_id, number min_level, number max_level);
FunctionInformation FunctionInformation {{Function_Template|Name=Qualification_getByName|ReturnType=Empty
 
|Parameters=
'''Return type'''
|Name=qualification name|ConstantType=String
 
}}
An array, it is information about min level and max level of users
 
=== Examples ===
 
<source lang="javascript">
array a = Qualification_getByName("B2B");
print(a);
 
Dictionary b = Qualification_getLevelForUsers({12649177},a[1],0,1000);
print(b);
 
//Result:
{37,4,B2B,1,4,True}
{"12649177": 4}
</source>

Revision as of 08:40, 14 October 2016

FunctionInformation FunctionInformation

max level


Please write a description and submit to code to autogen it next time

Syntax

max level();

Return type

Dictionary


Dictionary a = Qualification_getLevelForUsers({14829320},1,1,10); print(a);


FunctionInformation FunctionInformation

qualification name


Please write a description and submit to code to autogen it next time

Syntax

qualification name();

Return type

Empty