Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Resource addJournal: Difference between revisions

From Catglobe Wiki
Nguyentanphong (talk | contribs)
Created page with "= Resource_addJournal = Add a journal information to a specific resource. <br> === Syntax === Resource_addJournal(ResourceID) <br> === Arguments === ResourceID: is ..."
 
Nguyentanphong (talk | contribs)
No edit summary
Line 7: Line 7:
=== Syntax  ===
=== Syntax  ===


Resource_addJournal(ResourceID)  
Resource_addJournal(objects)  


<br>  
<br>  
Line 13: Line 13:
=== Arguments  ===
=== Arguments  ===


ResourceID: is a number. It is the resource id of resource
Object: [[ResourceJournalEntry class|ResourceJournalEntry objects]].  


<br>  
<br>  
Line 30: Line 30:
string content="test Undo complete"; // Content of journal
string content="test Undo complete"; // Content of journal


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


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

Revision as of 04:30, 14 November 2011

Resource_addJournal

Add a journal information to a specific resource.


Syntax

Resource_addJournal(objects)


Arguments

Object: 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);