GroupRule getRuleById

From Catglobe Wiki
Revision as of 09:57, 12 December 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



GroupRule_getRuleById

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

Syntax

GroupRule_getRuleById(ruleId)

Arguments

  • ruleId: is a number expression. It is the group rule's id, which can be found in the group's Rule tab

6257.jpg

Return value

An array, it is the group rule object, which has following items [GROUPRULE_TARGET] = GROUPRULE_TARGET_UNLIMITED;

GroupRule_save(rule);

Availability

Version 5.6