CorePlugins
[ class tree: CorePlugins ] [ index: CorePlugins ] [ all elements ]

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

Methods


Inherited Constants

Inherited Variables

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 776]
Rule to remove a set of rows in a table



[ Top ]


Class Variables

$rowIds =

[line 782]



Tags:

var:  list of values for which the rows will be removed if it matched in column columnId.
access:  private

Type:   array


[ Top ]



Class Methods


constructor __construct [line 791]

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 805]

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 Wed, 6 Apr 2005 12:07:04 +0200 by phpDocumentor 1.3.0RC3