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

Quota getQuotasByNameLike: Difference between revisions

From Catglobe Wiki
Hovietluu (talk | contribs)
No edit summary
Hovietluu (talk | contribs)
No edit summary
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 09: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