Difference between revisions of "GetProjectQuestionnaireName"

From Catglobe Wiki
Jump to: navigation, search
(getProjectQuestionnaireName)
(getProjectQuestionnaireName (alternative))
Line 33: Line 33:
 
==getProjectQuestionnaireName (alternative)==
 
==getProjectQuestionnaireName (alternative)==
  
Returns the name of the current questionnaire.
+
Returns the qualified name of the questionnaire of the resource project questionnaire context
  
 
'''Syntax'''
 
'''Syntax'''
Line 52: Line 52:
  
 
print(pqName);
 
print(pqName);
 +
 +
//Output : "nguyen tan phong\phong questionnaire 1"
  
 
'''Availability'''
 
'''Availability'''

Revision as of 12:18, 28 December 2011



getProjectQuestionnaireName

Returns the qualified name of the questionnaire specified by its id

Syntax

getProjectQuestionnaireName(id)

Arguments

id: is a numeric expression. It is the id of a questionnaire.

Return type

string

Example

string pqName = getProjectQuestionnaireName(1);

print(pqName);

//Output : "nguyen tan phong\phong questionnaire 1"


Availability

Version 5.2

getProjectQuestionnaireName (alternative)

Returns the qualified name of the questionnaire of the resource project questionnaire context

Syntax

getProjectQuestionnaireName()

Arguments

None

Return type

string

Example

string pqName = getProjectQuestionnaireName();

print(pqName);

//Output : "nguyen tan phong\phong questionnaire 1"

Availability

Version 5.2