Difference between revisions of "GroupRule getRuleById"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Group_Functions]]
 

 

  

Revision as of 08:29, 22 March 2011



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