Difference between revisions of "Quota getQuotasByNameLike"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Function_Template|Name=Quota_getQuotasByNameLike|ReturnType=Array
+
{{HelpFiles}}
|Parameters=
+
 
|Name=Quota name|ConstantType=String,
+
==== Quota_getQuotaByName ====
|Name=Quota questionnaire resource id|IsOptional=1|ConstantType=Number|IsInteger=1|IsPositive=1
+
 
}}
+
To get information of quota by name.
 +
 
 +
'''Syntax'''
 +
 
 +
array Quota_getQuotaByName(string quotaName[, number PQResourceId])
 +
 
 +
'''Arguments'''
 +
 
 +
- quotaName : the name of new quota.
 +
 
 +
- PQResourceId : Resource Id of questionnaire to which quota belongs. If it is empty, the project questionnaire context is needed
 +
 
 +
'''Return type'''
 +
 
 +
array
 +
 
 +
'''Example'''
 +
 
 +
array a = Quota_getQuotaByName("Arkitekt, textilindustri",5310088);
 +
 
 +
print(a);
 +
 
 +
//{26,5915,Arkitekt, textilindustri,1000,Q3 == [5] ,5310088,,False,False,9,1}
 +
 
 +
<br/>'''Availability'''
 +
 
 +
Version 5.8 __NOTOC__
 +
<!-- imported from file: 8021.htm-->

Revision as of 10:08, 11 November 2016


Quota_getQuotaByName

To get information of quota by name.

Syntax

array Quota_getQuotaByName(string quotaName[, number PQResourceId])

Arguments

- quotaName : the name of new quota.

- PQResourceId : Resource Id of questionnaire to which quota belongs. If it is empty, the project questionnaire context is needed

Return type

array

Example

array a = Quota_getQuotaByName("Arkitekt, textilindustri",5310088);

print(a);

//{26,5915,Arkitekt, textilindustri,1000,Q3 == [5] ,5310088,,False,False,9,1}


Availability

Version 5.8