Difference between revisions of "Resource addJournal"

From Catglobe Wiki
Jump to: navigation, search
Line 7: Line 7:
 
=== Syntax  ===
 
=== Syntax  ===
  
Resource_addJournal(object)  
+
Resource_addJournal(Object)  
  
 
<br>  
 
<br>  

Revision as of 05:32, 14 November 2011

Resource_addJournal

Add a journal information to a specific resource.


Syntax

Resource_addJournal(Object)


Arguments

Object: is a ResourceJournalEntry objects.


Return type

Empty.


Examples

string commentType="UndoComplete";   // Type of journal

string content="test Undo complete"; // Content of journal

number QRID=37246024;  // Resource ID of "phong questionnaire 1"

ResourceJournalEntry Rjt = new ResourceJournalEntry(QRID, commentType, content);

Resource_addJournal(Rjt);