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)
No edit summary
Tungocman (talk | contribs)
No edit summary
Line 26: Line 26:


<source lang="javascript">
<source lang="javascript">
string commentType="UndoComplete";  // Type of journal
string commentType="UndoComplete";  // Type of journal entry


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


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


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


Resource_addJournal(Rjt);</source>  
Resource_addJournal(Rjt);</source>  

Revision as of 04:38, 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 entry

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

number ResourceID=37246024;  // Resource ID

ResourceJournalEntry Rjt = new ResourceJournalEntry(ResourceID, commentType, Content);

Resource_addJournal(Rjt);