Difference between revisions of "SetResource"

From Catglobe Wiki
Jump to: navigation, search
(fix text)
(Tag: visualeditor)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Resource_Functions]]
 
[[Category:Resource_Functions]]
  
{{HelpFiles}} __NOTOC__
+
{{HelpFiles}} __FORCETOC__
  
 
It is used to set the resource used in
 
It is used to set the resource used in
Line 13: Line 13:
 
       getMultiConstant,
 
       getMultiConstant,
 
       getMultiConstantSelectedTexts,
 
       getMultiConstantSelectedTexts,
if none is given as parameter
 
''REALLY SHOULD REMOVE THAT FUNCTION, SINCE PROBABLY NOONE EVER USED IT''
 
  
  

Latest revision as of 06:09, 27 July 2018



It is used to set the resource used in

      getBoolConstant,
      getBooleanConstant,
      getNumberConstant,
      getStringConstant,
      getDateTimeConstant,
      getSingleConstant,
      getSingleConstantSelectedText,
      getMultiConstant,
      getMultiConstantSelectedTexts,


Syntax

setResource(string resourceGUID);

Arguments

resourceGUID: string.

Return type

Empty

Example

setResource("F04731D2-23A7-4877-BE75-6E8C027E3B4E");