Difference between revisions of "QAS save"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor)
 
Line 12: Line 12:
 
'''Argument'''
 
'''Argument'''
  
qasObject: is an array. It is the quesitonnaire answer sheet object, which has the same format as what generated by QAS_new
+
qasObject: is an array. It is the quesitonnaire answer sheet object, which has the same format as what generated by [[QAS_new]]
 +
 
 +
qasObject can be a [[QAS_class]]
  
 
'''Return value'''
 
'''Return value'''
Line 28: Line 30:
  
 
Version 5.6
 
Version 5.6
 +
 
__NOTOC__
 
__NOTOC__
 
<!-- imported from file: 8061.htm-->
 
<!-- imported from file: 8061.htm-->

Latest revision as of 10:43, 7 August 2019



QAS_save

Save a questionnaire answer sheet object to the database

Syntax

QAS_save(qasObject)

Argument

qasObject: is an array. It is the quesitonnaire answer sheet object, which has the same format as what generated by QAS_new

qasObject can be a QAS_class

Return value

empty

Example

array qas1 = QAS_new(33702597);
qas1[QAS_TEST]=true;
QAS_save(qas1);

Availability

Version 5.6