Group getGroupByResourceId

From Catglobe Wiki
Revision as of 05:28, 27 December 2011 by Cg huyphong (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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