Difference between revisions of "GroupRule save"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Group_Functions]]

+
{{HelpFiles}}
  
 
====GroupRule_save====
 
====GroupRule_save====

Latest revision as of 10:58, 12 December 2011


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