Difference between revisions of "Group getGroupByResourceId"
Cg huyphong (talk | contribs) |
|||
Line 4: | Line 4: | ||
====Group_getGroupByResourceId==== | ====Group_getGroupByResourceId==== | ||
− | Get a group by its resource id. If no group is found with that | + | 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 = | + | ''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