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

Class: ColumnFilter

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

Class Overview

BaseRule
   |
   --GroupRule
      |
      --TableRule
         |
         --ColumnRule
            |
            --ColumnFilter

Rule to modify columns title


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

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 591]
Rule to modify columns title

Callback method should have the following signature:

 static function myCallbackMethod('table_id', 'column_id', 'column_title')
   return 'column_new_title'




[ Top ]


Class Variables

$callback =

[line 602]

Callback method

Syntax is:

 array('PluginClass', 'myCallbackMethod')




Tags:

access:  public

Type:   array


[ Top ]



Class Methods


constructor __construct [line 611]

ColumnFilter __construct( string $groupId, string $tableId, string $columnId, array $callback)

Constructor



Tags:

access:  public


Overrides BaseRule::__construct() (Constructor)

Parameters:

string   $groupId  
string   $tableId  
string   $columnId  
array   $callback  

[ Top ]

method applyRule [line 625]

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

Execute a rule on a column



Tags:

access:  public


Overrides ColumnRule::applyRule() (Executes a rule on a column)

Parameters:

Table   $table  
string   $columnId  
array   $params  

[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:07:03 +0200 by phpDocumentor 1.3.0RC3