Difference between revisions of "Task getTaskByResourceId"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Task_Functions]]
 
[[Category:Task_Functions]]

+
{{HelpFiles}}
  
 
=====Task_getTaskByResourceId=====
 
=====Task_getTaskByResourceId=====
Line 16: Line 16:
 
'''Return value'''
 
'''Return value'''
  
array
+
array : please view the array object on Task_new
  
 
'''Example'''
 
'''Example'''
  
number taskResourceId = 34803390;
+
''number taskResourceId = 37245949;''
  
array task = Task_getTaskByResourceId(taskResourceId);
+
''array taskinfo = Task_getTaskByResourceId(taskResourceId);''
  
 +
''print (taskinfo);''
 +
 +
//{23,37245949,5448,phong-standard2,354847,33930555,True,False,,25455,25455,{{25455,6},{37267087,2},{37245938,2},{37245939,2},{37245940,2},{37245941,6},{37245942,2},{37245944,4},{37245975,4}},True,2,{2011,10,9,11,48,0,0,40,40},{2011,10,9,11,48,0,0,40,40},{2011,10,14,11,39,0,0,41,40},{2011,12,23,3,58,10,200,51,40},{9999,12,31,23,59,59,999,52,40},{1,1,1,1,0,0,0,1,40},0,phong-standard2}
 +
 
'''Availability'''
 
'''Availability'''
  

Latest revision as of 05:25, 23 December 2011



Task_getTaskByResourceId

Get task object by task resource id

Syntax

Task_getTaskByResourceId(taskResourceId)

Arguments

  • taskResourceId: is a number expression.

Return value

array : please view the array object on Task_new

Example

number taskResourceId = 37245949;

array taskinfo = Task_getTaskByResourceId(taskResourceId);

print (taskinfo);

//{23,37245949,5448,phong-standard2,354847,33930555,True,False,,25455,25455,{{25455,6},{37267087,2},{37245938,2},{37245939,2},{37245940,2},{37245941,6},{37245942,2},{37245944,4},{37245975,4}},True,2,{2011,10,9,11,48,0,0,40,40},{2011,10,9,11,48,0,0,40,40},{2011,10,14,11,39,0,0,41,40},{2011,12,23,3,58,10,200,51,40},{9999,12,31,23,59,59,999,52,40},{1,1,1,1,0,0,0,1,40},0,phong-standard2}

Availability

Version 5.8