Yii Advanced Filters Extension
  • Package
  • Class

Packages

  • advancedfilters
    • components
    • dbhelpers
    • filters

Classes

  • AfBaseFilter
  • AfDefaultFilter
  • AfExactFilter
  • AfRangeFilter
  • AfRegexFilter
  • AfSubstringFilter

Class AfDefaultFilter

This filter acts as a catch-all and matches columns where every word in the expression appears in any order.

CComponent
Extended by AfBaseFilter
Extended by AfDefaultFilter
Package: advancedfilters\filters
Author: Keith Burton kburton@kappasoft.net
Located at filters/AfDefaultFilter.php

Methods summary

public true
# acceptsFilterExpression( )

The AfDefaultFilter class acts as a catch all, so accepts any expression.

The AfDefaultFilter class acts as a catch all, so accepts any expression.

Returns

true
public CDbCriteria
# getCriteria( )

Builds a new CDbCriteria object based on the expression provided.

Builds a new CDbCriteria object based on the expression provided.

Returns

CDbCriteria
the new criteria object.

Methods inherited from AfBaseFilter

__construct(), createFilter(), getColumnExpression(), getDbConnection(), getDbHelper(), getFilterExpression(), getInvertLogic(), stripPrefixSuffixString()

Magic methods summary

Properties summary

public string $wordDelimiter

the string used to split the expression into separate words. Any whitespace around the resulting words will be trimmed.

the string used to split the expression into separate words. Any whitespace around the resulting words will be trimmed.

# ' '

Properties inherited from AfBaseFilter

$active, $priority, $treatNullAsEmptyString

Yii Advanced Filters Extension API documentation generated by ApiGen