Difference between revisions of "Qualification getLevelForUsers"

From Catglobe Wiki
Jump to: navigation, search
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 09: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}