CorePlugins

# Class: RowUnselector Source Location: /coreplugins/tables/common/TableRulesRegistry.php
### Class Overview
    BaseRule
       |
       --GroupRule
          |
          --TableRule
             |
             --RowUnselector
Rule to remove a set of rows in a table | ### Variables $rowIds | ### Methods __construct applyRule
### Inherited Constants #### Class: TableRule TableRule::WEIGHT_TABLE_GLOBAL TableRule::WEIGHT_TABLE_PARTIAL TableRule::WEIGHT_TABLE_SINGLE #### Class: GroupRule GroupRule::WEIGHT_GROUP_GLOBAL GroupRule::WEIGHT_GROUP_PARTIAL GroupRule::WEIGHT_GROUP_SINGLE #### Class: BaseRule BaseRule::WEIGHT_NO_MATCH | ### Inherited Variables #### Class: TableRule TableRule::$tableId #### Class: GroupRule GroupRule::$groupId #### Class: BaseRule BaseRule::$log | ### Inherited Methods #### Class: TableRule TableRule::applyRule() Executes a rule on a table TableRule::applyRules() Applies a set of rules on a table TableRule::checkRule() Checks a rule TableRule::getIndexes() Returns a map of index id's to their offset in the columnIds array. TableRule::getWeight() Computes weight #### Class: GroupRule GroupRule::addWeight() Stores computed weights GroupRule::applyRule() Executes a rule on a group GroupRule::applyRules() Applies a set of rules on a group GroupRule::checkRule() Checks a rule GroupRule::getWeight() Computes weight #### Class: BaseRule BaseRule::__construct() Constructor
### Class Details [line 796] Rule to remove a set of rows in a table [ Top ] ### Class Variables #### $rowIds = [line 802] #### Tags:
var: | list of values for which the rows will be removed if it matched in column columnId.
access: | protected
Type: | array
[ Top ] ### Class Methods ### constructor __construct [line 811]
`RowUnselector __construct( string $groupId, string $tableId, string $columnId, array $rowIds)`
Constructor #### Tags:
access: | public
Overrides BaseRule::__construct() (Constructor) #### Parameters:
string | $groupId |
string | $tableId |
string | $columnId |
array | $rowIds |
[ Top ] ### method applyRule [line 825]
`void applyRule( Table $table, string $columnId, array 2)`
Execute a rule on each rows of a table #### Tags:
access: | public
Overrides TableRule::applyRule() (Executes a rule on a table) #### Parameters:
array | 2 |
Table | $table |
string | $columnId |
[ Top ] Documentation generated on Fri, 21 Sep 2007 13:31:09 +0200 by phpDocumentor 1.3.0RC3