Difference between revisions of "DCS clearPeriods"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Data_Cache_Functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
 
  
====DCS_clearPeriods====
+
==== DCS_clearPeriods ====
  
Remove all periods added to the current questionnaire cache specification
+
Remove all periods added to the current questionnaire cache specification  
  
'''Syntax'''
+
'''Syntax'''  
  
DCS_clearPeriods()
+
DCS_clearPeriods()  
  
'''Arguments'''
+
'''Arguments'''  
  
None
+
None  
  
'''Return value'''
+
'''Return value'''  
  
''empty''
+
''empty''  
  
 
'''Example'''
 
'''Example'''
 +
[[Image:DCS - Time frame.jpg]]
 +
 +
''DCS_clearPeriods();''
 +
 +
''DCS_save(); //return default Start, End date''
  
''DCS_clearPeriods();''
+
''[[Image:DCS - Time frame - Clear periods.jpg]]''  
  
''DCS_addPeriod(start, end);''
+
'''Availability'''  
  
'''Availability'''
+
Version 5.5 __NOTOC__ <!-- imported from file: 6312.htm-->
  
Version 5.5
+
[[Category:Data_Cache_Functions]]
__NOTOC__
 
<!-- imported from file: 6312.htm-->
 

Revision as of 08:59, 20 December 2011



DCS_clearPeriods

Remove all periods added to the current questionnaire cache specification

Syntax

DCS_clearPeriods()

Arguments

None

Return value

empty

Example DCS - Time frame.jpg

DCS_clearPeriods();

DCS_save(); //return default Start, End date

DCS - Time frame - Clear periods.jpg

Availability

Version 5.5