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 getQuotaByName: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
Line 14: Line 14:
- quotaName : the name of new quota.
- quotaName : the name of new quota.


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


'''Return type'''
'''Return type'''
Line 22: Line 22:
'''Example'''
'''Example'''


array a= Quota_getQuotaByName("male"[,34806989]);
array a = Quota_getQuotaByName("Arkitekt, textilindustri",5310088);
 
print(a);
 
//{26,5915,Arkitekt, textilindustri,1000,Q3 == [5] ,5310088,,False,False,9,1}
 


'''Availability'''
'''Availability'''

Latest revision as of 09:34, 3 January 2012



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