Difference between revisions of "GetProjectQuestionnaireStatus"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Questionnaire_Functions]]
 
[[Category:Questionnaire_Functions]]

+
{{HelpFiles}}
  
 
====getProjectQuestionnaireStatus====
 
====getProjectQuestionnaireStatus====

Revision as of 10:49, 12 December 2011



getProjectQuestionnaireStatus

Gets the current status of the current questionnaire.

Syntax

getProjectQuestionnaireStatus()

Arguments

None

Return type

number. There are enumerations defined for project questionnaire’s statuses.

ProjectQuestionnaire_Status_NotSetProjectQuestionnaire_Status_ClosedProjectQuestionnaire_Status_PausedProjectQuestionnaire_Status_OpenProjectQuestionnaire_Status_OpenForTest

Example

number status =getProjectQuestionnaireStatus()();

if(status == ProjectQuestionnaire_Status_Open)

print("Open");

Availability

Version 5.2