GetProjectQuestionnaireStatus

From Catglobe Wiki
Revision as of 10:13, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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