Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GroupRule getRuleById

From Catglobe Wiki
Revision as of 09:10, 7 March 2011 by Catglobe (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



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

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