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:
FunctionInformation FunctionInformation {{Function_Template|Name=Qualification_getLevelForUsers|ReturnType=Dictionary
{{HelpFiles}}
|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
}}


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


Get information about min level and max level of users


'''Syntax'''


FunctionInformation FunctionInformation {{Function_Template|Name=Qualification_getByName|ReturnType=Empty
Dictionary b = Qualification_getLevelForUsers(array list_rids, number qualification_id, number min_level, number max_level);
|Parameters=
 
|Name=qualification name|ConstantType=String
'''Return type'''
}}
 
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


Qualification_getLevelForUsers

Get information about min level and max level of users

Syntax

Dictionary b = Qualification_getLevelForUsers(array list_rids, number qualification_id, number min_level, number max_level);

Return type

An array, it is information about min level and max level of users

Examples

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}