GroupRule getRuleById

From Catglobe Wiki
Revision as of 11:10, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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