GetProjectQuestionnaireStatus

From Catglobe Wiki
Revision as of 10:49, 12 December 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



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