void addWeight(
int
$weight, array
&$weights)
|
|
Stores computed weights
Weights are stored in an array which has the structure described in TableRule::addWeight().
When a rule with a greater weight is found, column Id is removed from old rule and added to current rule. With standard rules, only one rule is executed for each type of rule. ColumnAdder rule can be executed several times, but only once with the same column Id.
Tags:
Overrides
GroupRule::addWeight() (Stores computed weights)
Parameters: