Difference between revisions of "Group getGroupByResourceId"

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

+
{{HelpFiles}}
  
 
====Group_getGroupByResourceId====
 
====Group_getGroupByResourceId====
  
Get a group by its resource id. If no group is found with that name, empty will be returned.
+
Get a group by its resource id. If no group is found with that resource id, empty will be returned.
  
 
'''Syntax'''
 
'''Syntax'''
Line 20: Line 20:
 
'''Example'''
 
'''Example'''
  
''array group = Group_getGroupByResourecId(123456);''
+
''array group = Group_getGroupByResourceId(37050959);''
 +
 
 +
''print(group);''
 +
 
 +
//Return group object : ''{6,37050959,phonghh - 9559CATI reminder,34409956,35632792,True,0,False,Empty,Empty,Empty,Empty,Empty,Empty,Empty,{}} ''
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 04:28, 27 December 2011



Group_getGroupByResourceId

Get a group by its resource id. If no group is found with that resource id, empty will be returned.

Syntax

Group_getGroupByResourceId(groupResourceId)

Arguments

  • groupResourceId: is a number expression. It is the group's resource id, which can be found in group resource list

Return value

An array, it is the group object which has the same format as what is generated by Group_new function

Example

array group = Group_getGroupByResourceId(37050959);

print(group);

//Return group object : {6,37050959,phonghh - 9559CATI reminder,34409956,35632792,True,0,False,Empty,Empty,Empty,Empty,Empty,Empty,Empty,{}}

Availability

Version 5.6