GroupRule save

From Catglobe Wiki
Revision as of 11:02, 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_save

Save a group rule object to the database

Syntax

GroupRule_save(groupRuleObject)

Arguments

  • groupRuleObject: is an array. It is the group rule object, which has the same format as what returned by GroupRule_getRuleById.

Return value

empty

Example

array rule = GroupRule_getRuleById(101919);

rule[GROUPRULE_TARGET] = GROUPRULE_TARGET_UNLIMITED;

GroupRule_save(rule);

Availability

Version 5.6