Difference between revisions of "Qualification getLevelForUsers"

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