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

Class: CellFilterBatch

Source Location: /coreplugins/tables/common/TableRulesRegistry.php

Class Overview

BaseRule
   |
   --GroupRule
      |
      --TableRule
         |
         --ColumnRule
            |
            --CellRule
               |
               --CellFilter
                  |
                  --CellFilterBatch

Rule to modify content of all cells


Author(s):

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: CellFilter

CellFilter::__construct()
Constructor
CellFilter::applyRule()
Execute a rule on cells of a column

Class: ColumnRule

ColumnRule::applyRule()
Executes a rule on a column
ColumnRule::applyRules()
Applies a set of rules on a column
ColumnRule::checkRule()
Checks a rule
ColumnRule::getWeight()
Computes weight

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 750]
Rule to modify content of all cells

Callback method should have the following signature:

 static function myCallbackMethod('table_id', 'column_id',
                                  array (
                                  '0' => array (
                                         'column_1' => 'value_1_row_1',
                                         'column_2' => 'value_2_row_1'),
                                  '1' => array (
                                         'column_1' => 'value_1_row_2',
                                         'column_2' => 'value_2_row_2') ) )
   return array ('0' => 'cell_value_row_1', '1' => 'cell_value_row_2')




Tags:

see:  CellFilter


[ Top ]


Class Methods


method applyRule [line 758]

void applyRule( Table $table, string $columnId, array $params)

Execute a rule on cells of a column



Tags:

access:  public


Overrides CellFilter::applyRule() (Execute a rule on cells of a column)

Parameters:

Table   $table  
string   $columnId  
array   $params  

[ Top ]


Documentation generated on Mon, 13 Feb 2006 11:44:15 +0100 by phpDocumentor 1.3.0RC3